pub struct ItemsCount(/* private fields */);
Trait Implementations§
Source§impl Add for ItemsCount
impl Add for ItemsCount
Source§impl AddAssign for ItemsCount
impl AddAssign for ItemsCount
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moreSource§impl AsMut<<ItemsCount as Wrapper>::Inner> for ItemsCount
impl AsMut<<ItemsCount as Wrapper>::Inner> for ItemsCount
Source§impl AsRef<u32> for ItemsCount
impl AsRef<u32> for ItemsCount
Source§impl Borrow<u32> for ItemsCount
impl Borrow<u32> for ItemsCount
Source§impl BorrowMut<<ItemsCount as Wrapper>::Inner> for ItemsCount
impl BorrowMut<<ItemsCount as Wrapper>::Inner> for ItemsCount
Source§impl Clone for ItemsCount
impl Clone for ItemsCount
Source§fn clone(&self) -> ItemsCount
fn clone(&self) -> ItemsCount
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 Debug for ItemsCount
impl Debug for ItemsCount
Source§impl Default for ItemsCount
impl Default for ItemsCount
Source§fn default() -> ItemsCount
fn default() -> ItemsCount
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ItemsCount
impl<'de> Deserialize<'de> for ItemsCount
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ItemsCount
impl Display for ItemsCount
Source§impl Div for ItemsCount
impl Div for ItemsCount
Source§impl DivAssign for ItemsCount
impl DivAssign for ItemsCount
Source§fn div_assign(&mut self, rhs: Self)
fn div_assign(&mut self, rhs: Self)
Performs the
/=
operation. Read moreSource§impl From<ItemsCount> for u32
impl From<ItemsCount> for u32
Source§fn from(wrapped: ItemsCount) -> Self
fn from(wrapped: ItemsCount) -> Self
Converts to this type from the input type.
Source§impl From<u32> for ItemsCount
impl From<u32> for ItemsCount
Source§impl FromStr for ItemsCount
impl FromStr for ItemsCount
Source§impl Hash for ItemsCount
impl Hash for ItemsCount
Source§impl Mul for ItemsCount
impl Mul for ItemsCount
Source§impl MulAssign for ItemsCount
impl MulAssign for ItemsCount
Source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*=
operation. Read moreSource§impl Ord for ItemsCount
impl Ord for ItemsCount
Source§fn cmp(&self, other: &ItemsCount) -> Ordering
fn cmp(&self, other: &ItemsCount) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ItemsCount
impl PartialEq for ItemsCount
Source§impl PartialOrd for ItemsCount
impl PartialOrd for ItemsCount
Source§impl Rem for ItemsCount
impl Rem for ItemsCount
Source§impl RemAssign for ItemsCount
impl RemAssign for ItemsCount
Source§fn rem_assign(&mut self, rhs: Self)
fn rem_assign(&mut self, rhs: Self)
Performs the
%=
operation. Read moreSource§impl Serialize for ItemsCount
impl Serialize for ItemsCount
Source§impl StrictDecode for ItemsCount
impl StrictDecode for ItemsCount
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
fn strict_read(lim: usize, reader: impl Read) -> Result<Self, DecodeError>
Source§impl StrictEncode for ItemsCount
impl StrictEncode for ItemsCount
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
fn strict_write(&self, lim: usize, writer: impl Write) -> Result<usize, Error>
Source§impl StrictTuple for ItemsCount
impl StrictTuple for ItemsCount
const FIELD_COUNT: u8 = 1u8
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
Source§impl StrictType for ItemsCount
impl StrictType for ItemsCount
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB21
fn strict_name() -> Option<TypeName>
Source§impl Sub for ItemsCount
impl Sub for ItemsCount
Source§impl SubAssign for ItemsCount
impl SubAssign for ItemsCount
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-=
operation. Read moreSource§impl Wrapper for ItemsCount
impl Wrapper for ItemsCount
Source§fn from_inner(inner: Self::Inner) -> Self
fn from_inner(inner: Self::Inner) -> Self
Instantiates wrapper type with the inner data
Source§fn as_inner(&self) -> &Self::Inner
fn as_inner(&self) -> &Self::Inner
Returns reference to the inner representation for the wrapper type
Source§fn into_inner(self) -> Self::Inner
fn into_inner(self) -> Self::Inner
Unwraps the wrapper returning the inner type
Source§impl WrapperMut for ItemsCount
impl WrapperMut for ItemsCount
Source§fn as_inner_mut(&mut self) -> &mut <Self as Wrapper>::Inner
fn as_inner_mut(&mut self) -> &mut <Self as Wrapper>::Inner
Returns a mutable reference to the inner representation for the wrapper
type
impl Copy for ItemsCount
impl Eq for ItemsCount
impl StrictProduct for ItemsCount
impl StructuralPartialEq for ItemsCount
Auto Trait Implementations§
impl Freeze for ItemsCount
impl RefUnwindSafe for ItemsCount
impl Send for ItemsCount
impl Sync for ItemsCount
impl Unpin for ItemsCount
impl UnwindSafe for ItemsCount
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.