#[non_exhaustive]#[repr(u8)]pub enum ContainerVer {
V1 = 1,
}
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 = 1
Trait Implementations§
Source§impl Clone for ContainerVer
impl Clone for ContainerVer
Source§fn clone(&self) -> ContainerVer
fn clone(&self) -> ContainerVer
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 ContainerVer
impl Debug for ContainerVer
Source§impl Default for ContainerVer
impl Default for ContainerVer
Source§fn default() -> ContainerVer
fn default() -> ContainerVer
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContainerVer
impl<'de> Deserialize<'de> for ContainerVer
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 ContainerVer
impl Display for ContainerVer
Source§impl From<ContainerVer> for u8
impl From<ContainerVer> for u8
Source§fn from(value: ContainerVer) -> u8
fn from(value: ContainerVer) -> u8
Converts to this type from the input type.
Source§impl Hash for ContainerVer
impl Hash for ContainerVer
Source§impl Ord for ContainerVer
impl Ord for ContainerVer
Source§fn cmp(&self, other: &ContainerVer) -> Ordering
fn cmp(&self, other: &ContainerVer) -> 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 ContainerVer
impl PartialEq for ContainerVer
Source§impl PartialOrd for ContainerVer
impl PartialOrd for ContainerVer
Source§impl Serialize for ContainerVer
impl Serialize for ContainerVer
Source§impl StrictDecode for ContainerVer
impl StrictDecode for ContainerVer
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 ContainerVer
impl StrictEncode for ContainerVer
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 ContainerVer
impl StrictEnum for ContainerVer
fn from_variant_name(name: &FieldName) -> Result<Self, VariantError<&FieldName>>
fn strict_type_info() -> TypeInfo<Self>
Source§impl StrictSum for ContainerVer
impl StrictSum for ContainerVer
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 ContainerVer
impl StrictType for ContainerVer
const STRICT_LIB_NAME: &'static str = LIB_NAME_RGB_STD
fn strict_name() -> Option<TypeName>
Source§impl TryFrom<u8> for ContainerVer
impl TryFrom<u8> for ContainerVer
impl Copy for ContainerVer
impl Eq for ContainerVer
impl StructuralPartialEq for ContainerVer
Auto Trait Implementations§
impl Freeze for ContainerVer
impl RefUnwindSafe for ContainerVer
impl Send for ContainerVer
impl Sync for ContainerVer
impl Unpin for ContainerVer
impl UnwindSafe for ContainerVer
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.