#[repr(u32)]pub enum ProfileClass {
InputDevice = 0,
DisplayDevice = 1,
OutputDevice = 2,
DeviceLink = 3,
ColorSpace = 4,
Abstract = 5,
Named = 6,
}
Variants§
InputDevice = 0
DisplayDevice = 1
OutputDevice = 2
DeviceLink = 3
ColorSpace = 4
Abstract = 5
Named = 6
Trait Implementations§
Source§impl Clone for ProfileClass
impl Clone for ProfileClass
Source§fn clone(&self) -> ProfileClass
fn clone(&self) -> ProfileClass
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 ProfileClass
impl Debug for ProfileClass
Source§impl Default for ProfileClass
impl Default for ProfileClass
Source§fn default() -> ProfileClass
fn default() -> ProfileClass
Returns the “default value” for a type. Read more
Source§impl From<ProfileClass> for u32
impl From<ProfileClass> for u32
Source§fn from(val: ProfileClass) -> Self
fn from(val: ProfileClass) -> Self
Converts to this type from the input type.
Source§impl Ord for ProfileClass
impl Ord for ProfileClass
Source§fn cmp(&self, other: &ProfileClass) -> Ordering
fn cmp(&self, other: &ProfileClass) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ProfileClass
impl PartialEq for ProfileClass
Source§impl PartialOrd for ProfileClass
impl PartialOrd for ProfileClass
Source§impl TryFrom<u32> for ProfileClass
impl TryFrom<u32> for ProfileClass
impl Copy for ProfileClass
impl Eq for ProfileClass
impl StructuralPartialEq for ProfileClass
Auto Trait Implementations§
impl Freeze for ProfileClass
impl RefUnwindSafe for ProfileClass
impl Send for ProfileClass
impl Sync for ProfileClass
impl Unpin for ProfileClass
impl UnwindSafe for ProfileClass
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