pub struct GlobalStateType(/* private fields */);
Implementations§
Trait Implementations§
Source§impl AsRef<u16> for GlobalStateType
impl AsRef<u16> for GlobalStateType
Source§impl Borrow<u16> for GlobalStateType
impl Borrow<u16> for GlobalStateType
Source§impl Clone for GlobalStateType
impl Clone for GlobalStateType
Source§fn clone(&self) -> GlobalStateType
fn clone(&self) -> GlobalStateType
Returns a duplicate 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 GlobalStateType
impl Debug for GlobalStateType
Source§impl<'de> Deserialize<'de> for GlobalStateType
impl<'de> Deserialize<'de> for GlobalStateType
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 GlobalStateType
impl Display for GlobalStateType
Source§impl From<GlobalStateType> for u16
impl From<GlobalStateType> for u16
Source§fn from(wrapped: GlobalStateType) -> Self
fn from(wrapped: GlobalStateType) -> Self
Converts to this type from the input type.
Source§impl From<u16> for GlobalStateType
impl From<u16> for GlobalStateType
Source§impl FromStr for GlobalStateType
impl FromStr for GlobalStateType
Source§impl Hash for GlobalStateType
impl Hash for GlobalStateType
Source§impl LowerHex for GlobalStateType
impl LowerHex for GlobalStateType
Source§impl Ord for GlobalStateType
impl Ord for GlobalStateType
Source§fn cmp(&self, other: &GlobalStateType) -> Ordering
fn cmp(&self, other: &GlobalStateType) -> 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 GlobalStateType
impl PartialEq for GlobalStateType
Source§impl PartialOrd for GlobalStateType
impl PartialOrd for GlobalStateType
Source§impl Serialize for GlobalStateType
impl Serialize for GlobalStateType
Source§impl StrictDecode for GlobalStateType
impl StrictDecode for GlobalStateType
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
fn strict_read(reader: impl ReadRaw) -> Result<Self, DecodeError>
Source§impl StrictDumb for GlobalStateType
impl StrictDumb for GlobalStateType
fn strict_dumb() -> Self
Source§impl StrictEncode for GlobalStateType
impl StrictEncode for GlobalStateType
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
fn strict_write(&self, writer: impl WriteRaw) -> Result<(), Error>
Source§impl StrictTuple for GlobalStateType
impl StrictTuple for GlobalStateType
const FIELD_COUNT: u8 = 1u8
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
Source§impl StrictType for GlobalStateType
impl StrictType for GlobalStateType
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB_COMMIT
fn strict_name() -> Option<TypeName>
Source§impl UpperHex for GlobalStateType
impl UpperHex for GlobalStateType
Source§impl Wrapper for GlobalStateType
impl Wrapper for GlobalStateType
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
impl Copy for GlobalStateType
impl Eq for GlobalStateType
impl StrictProduct for GlobalStateType
impl StructuralPartialEq for GlobalStateType
Auto Trait Implementations§
impl Freeze for GlobalStateType
impl RefUnwindSafe for GlobalStateType
impl Send for GlobalStateType
impl Sync for GlobalStateType
impl Unpin for GlobalStateType
impl UnwindSafe for GlobalStateType
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.