#[repr(u8)]pub enum KnownCollectionType {
Physical = 0,
Application = 1,
Logical = 2,
Report = 3,
NamedArray = 4,
UsageSwitch = 5,
UsageModifier = 6,
}Expand description
A known Collection type.
Variants§
Physical = 0
Application = 1
Logical = 2
Report = 3
NamedArray = 4
UsageSwitch = 5
UsageModifier = 6
Trait Implementations§
Source§impl Clone for KnownCollectionType
impl Clone for KnownCollectionType
Source§fn clone(&self) -> KnownCollectionType
fn clone(&self) -> KnownCollectionType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for KnownCollectionType
Source§impl Debug for KnownCollectionType
impl Debug for KnownCollectionType
Source§impl From<KnownCollectionType> for u8
impl From<KnownCollectionType> for u8
Source§fn from(enum_value: KnownCollectionType) -> Self
fn from(enum_value: KnownCollectionType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for KnownCollectionType
impl PartialEq for KnownCollectionType
impl StructuralPartialEq for KnownCollectionType
Source§impl TryFrom<u8> for KnownCollectionType
impl TryFrom<u8> for KnownCollectionType
Source§type Error = TryFromPrimitiveError<KnownCollectionType>
type Error = TryFromPrimitiveError<KnownCollectionType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for KnownCollectionType
impl TryFromPrimitive for KnownCollectionType
const NAME: &'static str = "KnownCollectionType"
type Primitive = u8
type Error = TryFromPrimitiveError<KnownCollectionType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for KnownCollectionType
impl RefUnwindSafe for KnownCollectionType
impl Send for KnownCollectionType
impl Sync for KnownCollectionType
impl Unpin for KnownCollectionType
impl UnsafeUnpin for KnownCollectionType
impl UnwindSafe for KnownCollectionType
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