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