Enum
ArchivedIconVariant
#[repr(u8)]pub enum ArchivedIconVariant {
Light = 0,
Dark = 1,
}Expand description
An archived IconVariant
Variants
Light = 0
The archived counterpart of IconVariant::Light
Dark = 1
The archived counterpart of IconVariant::Dark
Trait Implementations
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedIconVariantwhere
<__C as Fallible>::Error: Source,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedIconVariantwhere
<__C as Fallible>::Error: Source,
unsafe fn check_bytes(
value: *const Self,
context: &mut __C,
) -> Result<(), <__C as Fallible>::Error>
unsafe fn check_bytes( value: *const Self, context: &mut __C, ) -> Result<(), <__C as Fallible>::Error>
Checks whether the given pointer points to a valid value within the
given context. Read more