#[non_exhaustive]#[repr(u32)]pub enum AntChannelId {
AntExtendedDeviceNumberUpperNibble = 4_026_531_840,
AntTransmissionTypeLowerNibble = 251_658_240,
AntDeviceType = 16_711_680,
AntDeviceNumber = 65_535,
}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.
AntExtendedDeviceNumberUpperNibble = 4_026_531_840
AntTransmissionTypeLowerNibble = 251_658_240
AntDeviceType = 16_711_680
AntDeviceNumber = 65_535
Implementations§
Source§impl AntChannelId
impl AntChannelId
Trait Implementations§
Source§impl Clone for AntChannelId
impl Clone for AntChannelId
Source§fn clone(&self) -> AntChannelId
fn clone(&self) -> AntChannelId
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 AntChannelId
impl Debug for AntChannelId
Source§impl Hash for AntChannelId
impl Hash for AntChannelId
Source§impl PartialEq for AntChannelId
impl PartialEq for AntChannelId
Source§fn eq(&self, other: &AntChannelId) -> bool
fn eq(&self, other: &AntChannelId) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AntChannelId
impl Eq for AntChannelId
impl StructuralPartialEq for AntChannelId
Auto Trait Implementations§
impl Freeze for AntChannelId
impl RefUnwindSafe for AntChannelId
impl Send for AntChannelId
impl Sync for AntChannelId
impl Unpin for AntChannelId
impl UnsafeUnpin for AntChannelId
impl UnwindSafe for AntChannelId
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