pub struct MemConfig {
pub host_access: HostAccess,
pub kernel_access: KernelAccess,
pub mem_location: MemLocation,
}Fields§
§host_access: HostAccess§kernel_access: KernelAccess§mem_location: MemLocationImplementations§
Source§impl MemConfig
impl MemConfig
pub fn build( host_access: HostAccess, kernel_access: KernelAccess, mem_location: MemLocation, ) -> MemConfig
Trait Implementations§
Source§impl From<MemConfig> for cl_mem_flags
impl From<MemConfig> for cl_mem_flags
Source§fn from(mem_config: MemConfig) -> cl_mem_flags
fn from(mem_config: MemConfig) -> cl_mem_flags
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MemConfig
impl RefUnwindSafe for MemConfig
impl Send for MemConfig
impl Sync for MemConfig
impl Unpin for MemConfig
impl UnwindSafe for MemConfig
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