#[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
Source§fn clone(&self) -> LACompanionType
fn clone(&self) -> LACompanionType
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 moreimpl 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
Source§fn cmp(&self, other: &LACompanionType) -> Ordering
fn cmp(&self, other: &LACompanionType) -> Ordering
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
Source§impl PartialEq for LACompanionType
impl PartialEq for LACompanionType
Source§fn eq(&self, other: &LACompanionType) -> bool
fn eq(&self, other: &LACompanionType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for LACompanionType
impl PartialOrd for LACompanionType
impl StructuralPartialEq for LACompanionType
Auto Trait Implementations§
impl Freeze 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