#[repr(u32)]pub enum GpuFabricBooleanState {
NotSupported = 0,
True = 1,
False = 2,
}Variants§
Trait Implementations§
Source§impl Clone for GpuFabricBooleanState
impl Clone for GpuFabricBooleanState
Source§fn clone(&self) -> GpuFabricBooleanState
fn clone(&self) -> GpuFabricBooleanState
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 moreSource§impl Debug for GpuFabricBooleanState
impl Debug for GpuFabricBooleanState
Source§impl From<GpuFabricBooleanState> for u32
impl From<GpuFabricBooleanState> for u32
Source§fn from(enum_value: GpuFabricBooleanState) -> Self
fn from(enum_value: GpuFabricBooleanState) -> Self
Converts to this type from the input type.
Source§impl Hash for GpuFabricBooleanState
impl Hash for GpuFabricBooleanState
Source§impl PartialEq for GpuFabricBooleanState
impl PartialEq for GpuFabricBooleanState
Source§fn eq(&self, other: &GpuFabricBooleanState) -> bool
fn eq(&self, other: &GpuFabricBooleanState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<u32> for GpuFabricBooleanState
impl TryFrom<u32> for GpuFabricBooleanState
Source§type Error = TryFromPrimitiveError<GpuFabricBooleanState>
type Error = TryFromPrimitiveError<GpuFabricBooleanState>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for GpuFabricBooleanState
impl TryFromPrimitive for GpuFabricBooleanState
const NAME: &'static str = "GpuFabricBooleanState"
type Primitive = u32
type Error = TryFromPrimitiveError<GpuFabricBooleanState>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for GpuFabricBooleanState
impl Eq for GpuFabricBooleanState
impl StructuralPartialEq for GpuFabricBooleanState
Auto Trait Implementations§
impl Freeze for GpuFabricBooleanState
impl RefUnwindSafe for GpuFabricBooleanState
impl Send for GpuFabricBooleanState
impl Sync for GpuFabricBooleanState
impl Unpin for GpuFabricBooleanState
impl UnsafeUnpin for GpuFabricBooleanState
impl UnwindSafe for GpuFabricBooleanState
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