pub enum RegionDirection {
DeviceReadable,
DeviceWritable,
}Expand description
Direction of one flattened descriptor-backed byte region.
Variants§
DeviceReadable
Bytes are readable by the device and contain request data.
DeviceWritable
Bytes are writable by the device and contain response data.
Trait Implementations§
Source§impl Clone for RegionDirection
impl Clone for RegionDirection
Source§fn clone(&self) -> RegionDirection
fn clone(&self) -> RegionDirection
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 RegionDirection
Source§impl Debug for RegionDirection
impl Debug for RegionDirection
impl Eq for RegionDirection
Source§impl PartialEq for RegionDirection
impl PartialEq for RegionDirection
impl StructuralPartialEq for RegionDirection
Auto Trait Implementations§
impl Freeze for RegionDirection
impl RefUnwindSafe for RegionDirection
impl Send for RegionDirection
impl Sync for RegionDirection
impl Unpin for RegionDirection
impl UnsafeUnpin for RegionDirection
impl UnwindSafe for RegionDirection
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