Enum Headr
#[repr(u8)]pub enum Headr {
COMPLETE = 0,
PARTIAL = 1,
}
Variants§
COMPLETE = 0
The master sends the complete 10 bit slave address read sequence
PARTIAL = 1
The master only sends the 1st 7 bits of the 10 bit address, followed by Read direction
Implementations§
Trait Implementations§
§impl Ord for Headr
impl Ord for Headr
§impl PartialOrd for Headr
impl PartialOrd for Headr
impl Copy for Headr
impl Eq for Headr
impl StructuralPartialEq for Headr
Auto Trait Implementations§
impl Freeze for Headr
impl RefUnwindSafe for Headr
impl Send for Headr
impl Sync for Headr
impl Unpin for Headr
impl UnwindSafe for Headr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)