Struct image_convolution::Pipeline[][src]

pub struct Pipeline {
    pub device: GpuDevice,
    // some fields omitted
}

Fields

device: GpuDevice

Implementations

impl Pipeline[src]

pub fn new() -> Self[src]

pub fn chain(
    &mut self,
    input_buffer: &Buffer,
    kernel: &Kernel,
    image_size: (u32, u32)
) -> (Buffer, (u32, u32))
[src]

pub async fn run<T: Pod>(
    self,
    output_buffers: &[(&Buffer, (u32, u32), u32)]
) -> Vec<Vec<T>>
[src]

Auto Trait Implementations

impl !RefUnwindSafe for Pipeline

impl !Send for Pipeline

impl !Sync for Pipeline

impl Unpin for Pipeline

impl !UnwindSafe for Pipeline

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> Downcast<T> for T

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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.

impl<T> Upcast<T> for T