Struct I2cDeviceRegistryEntry
#[repr(C)]pub struct I2cDeviceRegistryEntry {
pub node: usize,
pub bus_node: usize,
pub bus_instance: usize,
pub address: u16,
pub enable: &'static [I2cDevPin],
pub compatible: &'static str,
}Fields§
§node: usize§bus_node: usize§bus_instance: usize§address: u16§enable: &'static [I2cDevPin]§compatible: &'static strTrait Implementations§
§impl Clone for I2cDeviceRegistryEntry
impl Clone for I2cDeviceRegistryEntry
§fn clone(&self) -> I2cDeviceRegistryEntry
fn clone(&self) -> I2cDeviceRegistryEntry
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 I2cDeviceRegistryEntry
impl Debug for I2cDeviceRegistryEntry
impl Copy for I2cDeviceRegistryEntry
Auto Trait Implementations§
impl Freeze for I2cDeviceRegistryEntry
impl RefUnwindSafe for I2cDeviceRegistryEntry
impl Send for I2cDeviceRegistryEntry
impl Sync for I2cDeviceRegistryEntry
impl Unpin for I2cDeviceRegistryEntry
impl UnsafeUnpin for I2cDeviceRegistryEntry
impl UnwindSafe for I2cDeviceRegistryEntry
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