pub enum SglSupportType {
Unsupported,
SupportedUnaligned,
SupportedAligned,
Reserved,
}Variants§
Trait Implementations§
Source§impl CheckDiscriminantInRange<BitCount<Reserved>> for SglSupportType
impl CheckDiscriminantInRange<BitCount<Reserved>> for SglSupportType
Source§impl CheckDiscriminantInRange<BitCount<SupportedAligned>> for SglSupportType
impl CheckDiscriminantInRange<BitCount<SupportedAligned>> for SglSupportType
Source§impl CheckDiscriminantInRange<BitCount<SupportedUnaligned>> for SglSupportType
impl CheckDiscriminantInRange<BitCount<SupportedUnaligned>> for SglSupportType
Source§impl CheckDiscriminantInRange<BitCount<Unsupported>> for SglSupportType
impl CheckDiscriminantInRange<BitCount<Unsupported>> for SglSupportType
Source§impl Clone for SglSupportType
impl Clone for SglSupportType
Source§fn clone(&self) -> SglSupportType
fn clone(&self) -> SglSupportType
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 SglSupportType
impl Debug for SglSupportType
Source§impl Specifier for SglSupportType
impl Specifier for SglSupportType
Source§type Bytes = <BitCount<2> as SpecifierBytes>::Bytes
type Bytes = <BitCount<2> as SpecifierBytes>::Bytes
The storage type. This is typically the smallest integer primitive that
can store all possible values of the
InOut type.Source§type InOut = SglSupportType
type InOut = SglSupportType
The interface type. This type is used by getters and setters. For
integers, this is the same as the
Bytes type; for other
types with more logical representations, like an enum or struct, this is
the enum or struct.Source§fn into_bytes(
input: <Self as Specifier>::InOut,
) -> Result<<Self as Specifier>::Bytes, OutOfBounds>
fn into_bytes( input: <Self as Specifier>::InOut, ) -> Result<<Self as Specifier>::Bytes, OutOfBounds>
Converts an interface type into its storage type. Read more
Source§fn from_bytes(
bytes: <Self as Specifier>::Bytes,
) -> Result<<Self as Specifier>::InOut, InvalidBitPattern<<Self as Specifier>::Bytes>>
fn from_bytes( bytes: <Self as Specifier>::Bytes, ) -> Result<<Self as Specifier>::InOut, InvalidBitPattern<<Self as Specifier>::Bytes>>
Converts a storage type into its interface type. Read more
Auto Trait Implementations§
impl Freeze for SglSupportType
impl RefUnwindSafe for SglSupportType
impl Send for SglSupportType
impl Sync for SglSupportType
impl Unpin for SglSupportType
impl UnwindSafe for SglSupportType
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