Struct embedded_hal::can::ExtendedId [−][src]
pub struct ExtendedId(_);Expand description
Extended 29-bit CAN Identifier (0..=1FFF_FFFF).
Implementations
Tries to create a ExtendedId from a raw 32-bit integer.
This will return None if raw is out of range of an 29-bit integer (> 0x1FFF_FFFF).
Creates a new ExtendedId without checking if it is inside the valid range.
Safety
Using this method can create an invalid ID and is thus marked as unsafe.
Returns the Base ID part of this extended identifier.
Trait Implementations
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.