[−][src]Struct bxcan::ExtendedId
Extended 29-bit CAN Identifier (0..=1FFF_FFFF
).
Implementations
impl ExtendedId
[src]
pub const fn new(raw: u32) -> Option<Self>
[src]
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
).
pub fn as_raw(&self) -> u32
[src]
Returns this CAN Identifier as a raw 32-bit integer.
pub fn standard_id(&self) -> StandardId
[src]
Returns the Base ID part of this extended identifier.
Trait Implementations
impl Clone for ExtendedId
[src]
pub fn clone(&self) -> ExtendedId
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ExtendedId
[src]
impl Debug for ExtendedId
[src]
impl Eq for ExtendedId
[src]
impl Format for ExtendedId
[src]
impl From<ExtendedId> for Id
[src]
pub fn from(id: ExtendedId) -> Self
[src]
impl PartialEq<ExtendedId> for ExtendedId
[src]
pub fn eq(&self, other: &ExtendedId) -> bool
[src]
pub fn ne(&self, other: &ExtendedId) -> bool
[src]
impl StructuralEq for ExtendedId
[src]
impl StructuralPartialEq for ExtendedId
[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>,