#[non_exhaustive]#[repr(u8)]pub enum UselistCode {
Default = 1,
BB = 2,
}Expand description
USELISTBLOCK encoded values for a value’s use-list.
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.
Trait Implementations§
Source§impl Clone for UselistCode
impl Clone for UselistCode
Source§fn clone(&self) -> UselistCode
fn clone(&self) -> UselistCode
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 UselistCode
impl Debug for UselistCode
Source§impl TryFrom<u8> for UselistCode
impl TryFrom<u8> for UselistCode
Source§type Error = TryFromPrimitiveError<UselistCode>
type Error = TryFromPrimitiveError<UselistCode>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for UselistCode
impl TryFromPrimitive for UselistCode
const NAME: &'static str = "UselistCode"
type Primitive = u8
type Error = TryFromPrimitiveError<UselistCode>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for UselistCode
Auto Trait Implementations§
impl Freeze for UselistCode
impl RefUnwindSafe for UselistCode
impl Send for UselistCode
impl Sync for UselistCode
impl Unpin for UselistCode
impl UnwindSafe for UselistCode
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