Struct Device
pub struct Device(&'static CanRegistryEntry);Tuple Fields§
§0: &'static CanRegistryEntryImplementations§
§impl Device
impl Device
pub fn from_entry(entry: &'static CanRegistryEntry) -> Device
pub fn bitrate_hz(&self) -> u32
pub fn index(&self) -> u8
pub fn entry(&self) -> &'static CanRegistryEntry
Auto Trait Implementations§
impl Freeze for Device
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnsafeUnpin for Device
impl UnwindSafe for Device
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