Enum ocl::enums::ContextPropertyValue
source · pub enum ContextPropertyValue {
Platform(PlatformId),
InteropUserSync(bool),
D3d10DeviceKhr(*mut u32),
GlContextKhr(*mut c_void),
EglDisplayKhr(*mut c_void),
GlxDisplayKhr(*mut c_void),
CglSharegroupKhr(*mut c_void),
WglHdcKhr(*mut c_void),
AdapterD3d9Khr(isize),
AdapterD3d9exKhr(isize),
AdapterDxvaKhr(isize),
D3d11DeviceKhr(*mut c_void),
}
Variants§
Platform(PlatformId)
InteropUserSync(bool)
D3d10DeviceKhr(*mut u32)
GlContextKhr(*mut c_void)
EglDisplayKhr(*mut c_void)
GlxDisplayKhr(*mut c_void)
WglHdcKhr(*mut c_void)
AdapterD3d9Khr(isize)
AdapterD3d9exKhr(isize)
AdapterDxvaKhr(isize)
D3d11DeviceKhr(*mut c_void)
Trait Implementations§
source§impl Clone for ContextPropertyValue
impl Clone for ContextPropertyValue
source§fn clone(&self) -> ContextPropertyValue
fn clone(&self) -> ContextPropertyValue
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ContextPropertyValue
impl Debug for ContextPropertyValue
impl Send for ContextPropertyValue
impl Sync for ContextPropertyValue
Auto Trait Implementations§
impl Freeze for ContextPropertyValue
impl RefUnwindSafe for ContextPropertyValue
impl Unpin for ContextPropertyValue
impl UnwindSafe for ContextPropertyValue
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