Enum ocl_core::types::structs::ContextPropertyValue
source · pub enum ContextPropertyValue {
Platform(PlatformId),
InteropUserSync(bool),
D3d10DeviceKhr(*mut cl_d3d10_device_source_khr),
GlContextKhr(*mut c_void),
EglDisplayKhr(CLeglDisplayKHR),
GlxDisplayKhr(*mut c_void),
CglSharegroupKhr(*mut c_void),
WglHdcKhr(*mut c_void),
AdapterD3d9Khr(isize),
AdapterD3d9exKhr(isize),
AdapterDxvaKhr(isize),
D3d11DeviceKhr(isize),
}
Variants
Platform(PlatformId)
InteropUserSync(bool)
D3d10DeviceKhr(*mut cl_d3d10_device_source_khr)
GlContextKhr(*mut c_void)
EglDisplayKhr(CLeglDisplayKHR)
GlxDisplayKhr(*mut c_void)
WglHdcKhr(*mut c_void)
AdapterD3d9Khr(isize)
AdapterD3d9exKhr(isize)
AdapterDxvaKhr(isize)
D3d11DeviceKhr(isize)
Trait Implementations
sourceimpl Clone for ContextPropertyValue
impl Clone for ContextPropertyValue
sourcefn clone(&self) -> ContextPropertyValue
fn clone(&self) -> ContextPropertyValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ContextPropertyValue
impl Debug for ContextPropertyValue
impl Send for ContextPropertyValue
impl Sync for ContextPropertyValue
Auto Trait Implementations
impl RefUnwindSafe for ContextPropertyValue
impl Unpin for ContextPropertyValue
impl UnwindSafe for ContextPropertyValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more