pub enum ReadWriteOp {
Write,
Read,
}
Expand description
ReadWriteOp
defines read/write operation that driver interact with.
A sender should change its “RW” pin state based on this variant.
Variants§
Trait Implementations§
Source§impl Clone for ReadWriteOp
impl Clone for ReadWriteOp
Source§fn clone(&self) -> ReadWriteOp
fn clone(&self) -> ReadWriteOp
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 moreSource§impl PartialEq for ReadWriteOp
impl PartialEq for ReadWriteOp
impl Copy for ReadWriteOp
impl StructuralPartialEq for ReadWriteOp
Auto Trait Implementations§
impl Freeze for ReadWriteOp
impl RefUnwindSafe for ReadWriteOp
impl Send for ReadWriteOp
impl Sync for ReadWriteOp
impl Unpin for ReadWriteOp
impl UnwindSafe for ReadWriteOp
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