#[non_exhaustive]#[repr(u8)]pub enum RcProfileId {
ProfileNone = 0,
Profile1 = 2,
Profile2 = 6,
Profile3 = 10,
Profile4 = 14,
}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 RcProfileId
impl Clone for RcProfileId
Source§fn clone(&self) -> RcProfileId
fn clone(&self) -> RcProfileId
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 RcProfileId
impl Debug for RcProfileId
Source§impl From<RcProfileId> for u8
impl From<RcProfileId> for u8
Source§fn from(enum_value: RcProfileId) -> Self
fn from(enum_value: RcProfileId) -> Self
Converts to this type from the input type.
Source§impl Hash for RcProfileId
impl Hash for RcProfileId
Source§impl OperandEncodable for RcProfileId
impl OperandEncodable for RcProfileId
Source§impl PartialEq for RcProfileId
impl PartialEq for RcProfileId
Source§impl TryFrom<u8> for RcProfileId
impl TryFrom<u8> for RcProfileId
Source§type Error = TryFromPrimitiveError<RcProfileId>
type Error = TryFromPrimitiveError<RcProfileId>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for RcProfileId
impl TryFromPrimitive for RcProfileId
const NAME: &'static str = "RcProfileId"
type Primitive = u8
type Error = TryFromPrimitiveError<RcProfileId>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for RcProfileId
impl Eq for RcProfileId
impl StructuralPartialEq for RcProfileId
Auto Trait Implementations§
impl Freeze for RcProfileId
impl RefUnwindSafe for RcProfileId
impl Send for RcProfileId
impl Sync for RcProfileId
impl Unpin for RcProfileId
impl UnsafeUnpin for RcProfileId
impl UnwindSafe for RcProfileId
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