pub enum KernelAccess {
ReadOnly,
WriteOnly,
ReadWrite,
}Variants§
Trait Implementations§
Source§impl From<KernelAccess> for KernelAccessMemFlags
impl From<KernelAccess> for KernelAccessMemFlags
Source§fn from(kernel_access: KernelAccess) -> KernelAccessMemFlags
fn from(kernel_access: KernelAccess) -> KernelAccessMemFlags
Converts to this type from the input type.
Source§impl From<KernelAccess> for MemFlags
impl From<KernelAccess> for MemFlags
Source§fn from(kernel_access: KernelAccess) -> MemFlags
fn from(kernel_access: KernelAccess) -> MemFlags
Converts to this type from the input type.
Source§impl From<KernelAccess> for cl_mem_flags
impl From<KernelAccess> for cl_mem_flags
Source§fn from(kernel_access: KernelAccess) -> cl_mem_flags
fn from(kernel_access: KernelAccess) -> cl_mem_flags
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KernelAccess
impl RefUnwindSafe for KernelAccess
impl Send for KernelAccess
impl Sync for KernelAccess
impl Unpin for KernelAccess
impl UnwindSafe for KernelAccess
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