pub struct AddressFrame { /* private fields */ }Expand description
The bytes an Address puts on the bus to address a device.
One byte for a 7-bit address and two for a 10-bit one, held inline so producing one allocates nothing and needs no caller-supplied buffer.
Implementations§
Trait Implementations§
Source§impl Clone for AddressFrame
impl Clone for AddressFrame
Source§fn clone(&self) -> AddressFrame
fn clone(&self) -> AddressFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AddressFrame
Source§impl Debug for AddressFrame
impl Debug for AddressFrame
impl Eq for AddressFrame
Source§impl PartialEq for AddressFrame
impl PartialEq for AddressFrame
Source§fn eq(&self, other: &AddressFrame) -> bool
fn eq(&self, other: &AddressFrame) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AddressFrame
Auto Trait Implementations§
impl Freeze for AddressFrame
impl RefUnwindSafe for AddressFrame
impl Send for AddressFrame
impl Sync for AddressFrame
impl Unpin for AddressFrame
impl UnsafeUnpin for AddressFrame
impl UnwindSafe for AddressFrame
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