[−][src]Struct open_cl_low_level::context::ClContext
Methods
impl ClContext
[src]
pub unsafe fn unchecked_new(object: cl_context) -> ClContext
[src]
pub unsafe fn new(object: cl_context) -> Output<ClContext>
[src]
pub unsafe fn retain_new(object: cl_context) -> Output<ClContext>
[src]
pub unsafe fn create<D>(devices: &[D]) -> Output<ClContext> where
D: DevicePtr,
[src]
D: DevicePtr,
Trait Implementations
impl Clone for ClContext
[src]
impl ContextPtr for ClContext
[src]
unsafe fn context_ptr(&self) -> cl_context
[src]
unsafe fn info<T: Copy>(&self, flag: ContextInfo) -> Output<ClPointer<T>>
[src]
unsafe fn reference_count(&self) -> Output<u32>
[src]
unsafe fn devices(&self) -> Output<Vec<ClDeviceID>>
[src]
unsafe fn properties(&self) -> Output<Vec<ContextProperties>>
[src]
unsafe fn num_devices(&self) -> Output<u32>
[src]
impl Debug for ClContext
[src]
impl Drop for ClContext
[src]
impl Eq for ClContext
[src]
impl PartialEq<ClContext> for ClContext
[src]
Auto Trait Implementations
impl RefUnwindSafe for ClContext
impl !Send for ClContext
impl !Sync for ClContext
impl Unpin for ClContext
impl UnwindSafe for ClContext
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,