pub struct TransitionType(/* private fields */);
Implementations§
Source§impl TransitionType
impl TransitionType
pub const fn with(ty: u16) -> TransitionType
Source§impl TransitionType
impl TransitionType
pub const REPLACE: TransitionType
pub fn is_replace(self) -> bool
Trait Implementations§
Source§impl AsRef<u16> for TransitionType
impl AsRef<u16> for TransitionType
Source§impl Borrow<u16> for TransitionType
impl Borrow<u16> for TransitionType
Source§impl Clone for TransitionType
impl Clone for TransitionType
Source§fn clone(&self) -> TransitionType
fn clone(&self) -> TransitionType
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 TransitionType
impl Debug for TransitionType
Source§impl<'de> Deserialize<'de> for TransitionType
impl<'de> Deserialize<'de> for TransitionType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TransitionType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TransitionType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for TransitionType
impl Display for TransitionType
Source§impl From<u16> for TransitionType
impl From<u16> for TransitionType
Source§fn from(v: u16) -> TransitionType
fn from(v: u16) -> TransitionType
Converts to this type from the input type.
Source§impl FromStr for TransitionType
impl FromStr for TransitionType
Source§impl Hash for TransitionType
impl Hash for TransitionType
Source§impl LowerHex for TransitionType
impl LowerHex for TransitionType
Source§impl Ord for TransitionType
impl Ord for TransitionType
Source§fn cmp(&self, other: &TransitionType) -> Ordering
fn cmp(&self, other: &TransitionType) -> 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 TransitionType
impl PartialEq for TransitionType
Source§impl PartialOrd for TransitionType
impl PartialOrd for TransitionType
Source§impl Serialize for TransitionType
impl Serialize for TransitionType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl StrictDecode for TransitionType
impl StrictDecode for TransitionType
fn strict_decode( reader: &mut impl TypedRead, ) -> Result<TransitionType, DecodeError>
fn strict_read(reader: impl ReadRaw) -> Result<Self, DecodeError>
Source§impl StrictDumb for TransitionType
impl StrictDumb for TransitionType
fn strict_dumb() -> TransitionType
Source§impl StrictEncode for TransitionType
impl StrictEncode for TransitionType
fn strict_encode<W>(&self, writer: W) -> Result<W, Error>where
W: TypedWrite,
fn strict_write(&self, writer: impl WriteRaw) -> Result<(), Error>
Source§impl StrictTuple for TransitionType
impl StrictTuple for TransitionType
const FIELD_COUNT: u8 = 1u8
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
Source§impl StrictType for TransitionType
impl StrictType for TransitionType
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB_COMMIT
fn strict_name() -> Option<TypeName>
Source§impl UpperHex for TransitionType
impl UpperHex for TransitionType
Source§impl Wrapper for TransitionType
impl Wrapper for TransitionType
Source§fn from_inner(inner: <TransitionType as Wrapper>::Inner) -> TransitionType
fn from_inner(inner: <TransitionType as Wrapper>::Inner) -> TransitionType
Instantiates wrapper type with the inner data
Source§fn as_inner(&self) -> &<TransitionType as Wrapper>::Inner
fn as_inner(&self) -> &<TransitionType as Wrapper>::Inner
Returns reference to the inner representation for the wrapper type
Source§fn into_inner(self) -> <TransitionType as Wrapper>::Inner
fn into_inner(self) -> <TransitionType as Wrapper>::Inner
Unwraps the wrapper returning the inner type
impl Copy for TransitionType
impl Eq for TransitionType
impl StrictProduct for TransitionType
impl StructuralPartialEq for TransitionType
Auto Trait Implementations§
impl Freeze for TransitionType
impl RefUnwindSafe for TransitionType
impl Send for TransitionType
impl Sync for TransitionType
impl Unpin for TransitionType
impl UnwindSafe for TransitionType
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.