pub enum Access {
HostToDevice,
DeviceToHost,
BiDirectional,
}
Expand description
Intended access direction for DMA memory.
Variants§
HostToDevice
The memory is used for the host to write and the device to read. Device writes may not be coherent.
DeviceToHost
The memory is used for the host to read and the device to write. Host writes may not be coherent.
BiDirectional
The memory is accessed read/write by both device and host.
Trait Implementations§
source§impl Ord for Access
impl Ord for Access
source§impl PartialOrd for Access
impl PartialOrd for Access
impl Copy for Access
impl Eq for Access
impl StructuralPartialEq for Access
Auto Trait Implementations§
impl DeviceSync for Access
impl Freeze for Access
impl ObjSafe for Access
impl RefUnwindSafe for Access
impl Send for Access
impl Sync for Access
impl Unpin for Access
impl UnwindSafe for Access
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
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.