pub struct ContextProps {
pub platform: Option<Platform>,
pub interop_user_sync: bool,
}Expand description
OpenCL context properties
Fields§
§platform: Option<Platform>§interop_user_sync: boolImplementations§
Source§impl ContextProps
impl ContextProps
Trait Implementations§
Source§impl Clone for ContextProps
impl Clone for ContextProps
Source§fn clone(&self) -> ContextProps
fn clone(&self) -> ContextProps
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 ContextProps
impl Debug for ContextProps
Source§impl Default for ContextProps
impl Default for ContextProps
Source§impl Hash for ContextProps
impl Hash for ContextProps
Source§impl PartialEq for ContextProps
impl PartialEq for ContextProps
impl Copy for ContextProps
impl Eq for ContextProps
impl Send for ContextProps
impl StructuralPartialEq for ContextProps
impl Sync for ContextProps
Auto Trait Implementations§
impl Freeze for ContextProps
impl RefUnwindSafe for ContextProps
impl Unpin for ContextProps
impl UnwindSafe for ContextProps
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