#[non_exhaustive]pub enum LACompanionType {
Watch,
Mac,
Vision,
Unknown(i32),
}Expand description
Companion kinds reported by LADomainState.
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.
Implementations§
Trait Implementations§
Source§impl Clone for LACompanionType
impl Clone for LACompanionType
impl Copy for LACompanionType
Source§impl Debug for LACompanionType
impl Debug for LACompanionType
impl Eq for LACompanionType
Source§impl Hash for LACompanionType
impl Hash for LACompanionType
Source§impl Ord for LACompanionType
impl Ord for LACompanionType
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for LACompanionType
impl PartialEq for LACompanionType
Source§impl PartialOrd for LACompanionType
impl PartialOrd for LACompanionType
impl StructuralPartialEq for LACompanionType
Auto Trait Implementations§
impl Forget for LACompanionType
impl Freeze for LACompanionType
impl Move for LACompanionType
impl RefUnwindSafe for LACompanionType
impl Send for LACompanionType
impl Sync for LACompanionType
impl Unpin for LACompanionType
impl UnsafeUnpin for LACompanionType
impl UnwindSafe for LACompanionType
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