Enum bxcan::Id [−][src]
pub enum Id { Standard(StandardId), Extended(ExtendedId), }
Expand description
A CAN Identifier (standard or extended).
Variants
Standard(StandardId)
Expand description
Standard 11-bit Identifier (0..=0x7FF
).
Extended(ExtendedId)
Expand description
Extended 29-bit Identifier (0..=0x1FFF_FFFF
).
Trait Implementations
impl From<ExtendedId> for Id
[src]
impl From<ExtendedId> for Id
[src]pub fn from(id: ExtendedId) -> Id
[src]
pub fn from(id: ExtendedId) -> Id
[src]Performs the conversion.
impl From<StandardId> for Id
[src]
impl From<StandardId> for Id
[src]pub fn from(id: StandardId) -> Id
[src]
pub fn from(id: StandardId) -> Id
[src]Performs the conversion.