#[non_exhaustive]#[repr(u8)]pub enum DeviceIndex {
Creator = 0,
}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.
Creator = 0
Implementations§
Source§impl DeviceIndex
impl DeviceIndex
Trait Implementations§
Source§impl Clone for DeviceIndex
impl Clone for DeviceIndex
Source§fn clone(&self) -> DeviceIndex
fn clone(&self) -> DeviceIndex
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 DeviceIndex
impl Debug for DeviceIndex
Source§impl Hash for DeviceIndex
impl Hash for DeviceIndex
Source§impl PartialEq for DeviceIndex
impl PartialEq for DeviceIndex
Source§fn eq(&self, other: &DeviceIndex) -> bool
fn eq(&self, other: &DeviceIndex) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DeviceIndex
impl Eq for DeviceIndex
impl StructuralPartialEq for DeviceIndex
Auto Trait Implementations§
impl Freeze for DeviceIndex
impl RefUnwindSafe for DeviceIndex
impl Send for DeviceIndex
impl Sync for DeviceIndex
impl Unpin for DeviceIndex
impl UnsafeUnpin for DeviceIndex
impl UnwindSafe for DeviceIndex
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