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