Struct CanRegistryEntry
#[repr(C)]pub struct CanRegistryEntry {
pub node: usize,
pub instance: usize,
pub bitrate_hz: u32,
pub rx: CanPin,
pub tx: CanPin,
pub rx0_irq: CanIrq,
pub rx1_irq: CanIrq,
pub index: u8,
pub tx_open_drain: u8,
pub compatible: &'static str,
}Fields§
§node: usize§instance: usize§bitrate_hz: u32§rx: CanPin§tx: CanPin§rx0_irq: CanIrq§rx1_irq: CanIrq§index: u8§tx_open_drain: u8§compatible: &'static strTrait Implementations§
§impl Clone for CanRegistryEntry
impl Clone for CanRegistryEntry
§fn clone(&self) -> CanRegistryEntry
fn clone(&self) -> CanRegistryEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for CanRegistryEntry
impl Debug for CanRegistryEntry
impl Copy for CanRegistryEntry
Auto Trait Implementations§
impl Freeze for CanRegistryEntry
impl RefUnwindSafe for CanRegistryEntry
impl Send for CanRegistryEntry
impl Sync for CanRegistryEntry
impl Unpin for CanRegistryEntry
impl UnsafeUnpin for CanRegistryEntry
impl UnwindSafe for CanRegistryEntry
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