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