#[non_exhaustive]#[repr(u8)]pub enum VerNo {
V1 = 0,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
V1 = 0
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VerNo
impl<'de> Deserialize<'de> for VerNo
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 Ord for VerNo
impl Ord for VerNo
Source§impl PartialOrd for VerNo
impl PartialOrd for VerNo
Source§impl StrictDecode for VerNo
impl StrictDecode for VerNo
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 VerNo
impl StrictEncode for VerNo
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
fn strict_write(&self, lim: usize, writer: impl Write) -> Result<usize, Error>
Source§impl StrictEnum for VerNo
impl StrictEnum for VerNo
fn from_variant_name(name: &FieldName) -> Result<Self, VariantError<&FieldName>>
fn strict_type_info() -> TypeInfo<Self>
Source§impl StrictSum for VerNo
impl StrictSum for VerNo
const ALL_VARIANTS: &'static [(u8, &'static str)]
fn variant_name(&self) -> &'static str
fn strict_check_variants()
fn variant_name_by_tag(tag: u8) -> Option<FieldName>
fn variant_ord(&self) -> u8
Source§impl StrictType for VerNo
impl StrictType for VerNo
const STRICT_LIB_NAME: &'static str = crate::LIB_NAME_RGB_STD
fn strict_name() -> Option<TypeName>
impl Copy for VerNo
impl Eq for VerNo
impl StructuralPartialEq for VerNo
Auto Trait Implementations§
impl Freeze for VerNo
impl RefUnwindSafe for VerNo
impl Send for VerNo
impl Sync for VerNo
impl Unpin for VerNo
impl UnwindSafe for VerNo
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.