pub enum AccessMethod {
Poll,
Interrupt,
Dma,
}Expand description
Read/write method for output and input
Variants§
Trait Implementations§
Source§impl Clone for AccessMethod
impl Clone for AccessMethod
Source§fn clone(&self) -> AccessMethod
fn clone(&self) -> AccessMethod
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 Debug for AccessMethod
impl Debug for AccessMethod
Source§impl PartialEq for AccessMethod
impl PartialEq for AccessMethod
impl StructuralPartialEq for AccessMethod
Auto Trait Implementations§
impl Freeze for AccessMethod
impl RefUnwindSafe for AccessMethod
impl Send for AccessMethod
impl Sync for AccessMethod
impl Unpin for AccessMethod
impl UnwindSafe for AccessMethod
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§impl<T> ToMutAligned for Twhere
T: ?Sized,
impl<T> ToMutAligned for Twhere
T: ?Sized,
Source§fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
Create a type-checked aligned value from a value that is aligned.