pub enum CanAddressingMode {
Standard,
Extended,
}
Expand description
The addressing mode for a CAN frame
Variants§
Standard
Standard addressing mode: 11-bit identifier
Extended
Extended addressing mode: 29-bit identifier
Trait Implementations§
Source§impl Clone for CanAddressingMode
impl Clone for CanAddressingMode
Source§fn clone(&self) -> CanAddressingMode
fn clone(&self) -> CanAddressingMode
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 CanAddressingMode
impl Debug for CanAddressingMode
Source§impl From<CanAddressingMode> for EnumItem
impl From<CanAddressingMode> for EnumItem
Source§fn from(value: CanAddressingMode) -> Self
fn from(value: CanAddressingMode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CanAddressingMode
impl PartialEq for CanAddressingMode
Source§impl TryFrom<EnumItem> for CanAddressingMode
impl TryFrom<EnumItem> for CanAddressingMode
impl Copy for CanAddressingMode
impl Eq for CanAddressingMode
impl StructuralPartialEq for CanAddressingMode
Auto Trait Implementations§
impl Freeze for CanAddressingMode
impl RefUnwindSafe for CanAddressingMode
impl Send for CanAddressingMode
impl Sync for CanAddressingMode
impl Unpin for CanAddressingMode
impl UnwindSafe for CanAddressingMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.