pub enum ParameterAccess {
Value,
Read,
Write,
ReadWrite,
OpaquePointer,
}Expand description
Access to the storage addressed by a kernel parameter.
Variants§
Value
A copied value, with no implied device memory access.
Read
Reads initialized elements.
Write
Writes elements without reading their previous values.
ReadWrite
Reads and writes initialized elements.
OpaquePointer
A pointer whose access contract is supplied by the caller.
Trait Implementations§
Source§impl Clone for ParameterAccess
impl Clone for ParameterAccess
impl Copy for ParameterAccess
Source§impl Debug for ParameterAccess
impl Debug for ParameterAccess
impl Eq for ParameterAccess
Source§impl PartialEq for ParameterAccess
impl PartialEq for ParameterAccess
impl StructuralPartialEq for ParameterAccess
Auto Trait Implementations§
impl Forget for ParameterAccess
impl Freeze for ParameterAccess
impl Move for ParameterAccess
impl RefUnwindSafe for ParameterAccess
impl Send for ParameterAccess
impl Sync for ParameterAccess
impl Unpin for ParameterAccess
impl UnsafeUnpin for ParameterAccess
impl UnwindSafe for ParameterAccess
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.