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