Struct awr::client::friend_group::FriendGroup
source · pub struct FriendGroup { /* private fields */ }
Expand description
Implementations§
source§impl FriendGroup
impl FriendGroup
sourcepub fn friend_count(&self) -> i32
pub fn friend_count(&self) -> i32
sourcepub fn online_count(&self) -> i32
pub fn online_count(&self) -> i32
Trait Implementations§
source§impl Clone for FriendGroup
impl Clone for FriendGroup
source§fn clone(&self) -> FriendGroup
fn clone(&self) -> FriendGroup
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl IntoPy<Py<PyAny>> for FriendGroup
impl IntoPy<Py<PyAny>> for FriendGroup
source§impl PyClassImpl for FriendGroup
impl PyClassImpl for FriendGroup
source§const IS_BASETYPE: bool = false
const IS_BASETYPE: bool = false
#[pyclass(subclass)]
source§const IS_SUBCLASS: bool = false
const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]
source§const IS_MAPPING: bool = false
const IS_MAPPING: bool = false
#[pyclass(mapping)]
source§const IS_SEQUENCE: bool = false
const IS_SEQUENCE: bool = false
#[pyclass(sequence)]
§type Layout = PyCell<FriendGroup>
type Layout = PyCell<FriendGroup>
Layout
§type ThreadChecker = ThreadCheckerStub<FriendGroup>
type ThreadChecker = ThreadCheckerStub<FriendGroup>
This handles following two situations: Read more
§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable
§type BaseNativeType = PyAny
type BaseNativeType = PyAny
The closest native ancestor. This is
PyAny
by default, and when you declare
#[pyclass(extends=PyDict)]
, it’s PyDict
.fn items_iter() -> PyClassItemsIter
fn dict_offset() -> Option<isize>
fn weaklist_offset() -> Option<isize>
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a FriendGroup
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a FriendGroup
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut FriendGroup
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut FriendGroup
source§impl PyMethods<FriendGroup> for PyClassImplCollector<FriendGroup>
impl PyMethods<FriendGroup> for PyClassImplCollector<FriendGroup>
fn py_methods(self) -> &'static PyClassItems
source§impl PyTypeInfo for FriendGroup
impl PyTypeInfo for FriendGroup
§type AsRefTarget = PyCell<FriendGroup>
type AsRefTarget = PyCell<FriendGroup>
Utility type to make Py::as_ref work.
source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.
§fn type_object(py: Python<'_>) -> &PyType
fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.
§fn is_type_of(object: &PyAny) -> bool
fn is_type_of(object: &PyAny) -> bool
Checks if
object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
fn is_exact_type_of(object: &PyAny) -> bool
Checks if
object
is an instance of this type.