[][src]Struct dynamic_ocl::kernel::Kernel

pub struct Kernel<T: KernelArgList> { /* fields omitted */ }

An executable OpenCL kernel, with arguments set.

Methods

impl<T: KernelArgList> Kernel<T>[src]

pub fn arguments<'a>(&'a mut self) -> <T::Bound as BindProject<'a>>::Projected where
    T::Bound: BindProject<'a>, 
[src]

Get mutable references to the arguments of this kernel.

For safety reasons, the bound arguments are pinned, and must not be moved.

Trait Implementations

impl<T: KernelArgList> Debug for Kernel<T>[src]

impl<T: Eq + KernelArgList> Eq for Kernel<T> where
    T::Bound: Eq
[src]

impl<T: Hash + KernelArgList> Hash for Kernel<T> where
    T::Bound: Hash
[src]

impl<T: KernelArgList> KernelInfo for Kernel<T>[src]

impl<T: PartialEq + KernelArgList> PartialEq<Kernel<T>> for Kernel<T> where
    T::Bound: PartialEq
[src]

impl<T: KernelArgList> StructuralEq for Kernel<T>[src]

impl<T: KernelArgList> StructuralPartialEq for Kernel<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Kernel<T> where
    <T as KernelArgList>::Bound: RefUnwindSafe

impl<T> !Send for Kernel<T>

impl<T> !Sync for Kernel<T>

impl<T> Unpin for Kernel<T> where
    <T as KernelArgList>::Bound: Unpin

impl<T> UnwindSafe for Kernel<T> where
    <T as KernelArgList>::Bound: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.