Struct opencl3::memory::Pipe[][src]

pub struct Pipe { /* fields omitted */ }

An OpenCL pipe.
Has methods to return information from calls to clGetPipeInfo with the appropriate parameters.
Implements the Drop trait to call release_mem_object when the object is dropped.

Implementations

impl Pipe[src]

pub fn new(pipe: cl_mem) -> Pipe[src]

pub fn create(
    context: &Context,
    flags: cl_mem_flags,
    pipe_packet_size: cl_uint,
    pipe_max_packets: cl_uint
) -> Result<Pipe>
[src]

pub fn pipe_packet_size(&self) -> Result<cl_uint>[src]

pub fn pipe_max_packets(&self) -> Result<cl_uint>[src]

pub fn pipe_properties(&self) -> Result<Vec<intptr_t>>[src]

Trait Implementations

impl ClMem for Pipe[src]

impl Drop for Pipe[src]

Auto Trait Implementations

impl RefUnwindSafe for Pipe

impl !Send for Pipe

impl !Sync for Pipe

impl Unpin for Pipe

impl UnwindSafe for Pipe

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, 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.