[−][src]Enum stm32f3xx_hal::can::CanId
A CAN identifier, which can be either 11 or 27 (extended) bits. u16 and u32 respectively are used here despite the fact that the upper bits are unused.
Variants
Standard 11bit Identifier (0..=0x7FF)
Extended 29bit Identifier (0..=0x1FFF_FFFF)
Trait Implementations
impl Clone for CanId
[src]
pub fn clone(&self) -> CanId
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CanId
[src]
impl Debug for CanId
[src]
impl Eq for CanId
[src]
impl Id for CanId
[src]
type BaseId = u16
The (11-bit) BaseId variant.
type ExtendedId = u32
The (29-bit) ExtendedId variant.
pub fn base_id(&self) -> Option<<CanId as Id>::BaseId>
[src]
pub fn extended_id(&self) -> Option<<CanId as Id>::ExtendedId>
[src]
impl PartialEq<CanId> for CanId
[src]
impl StructuralEq for CanId
[src]
impl StructuralPartialEq for CanId
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,