Enum ocl_core::types::enums::ImageInfoResult [] [src]

pub enum ImageInfoResult {
    Format(ImageFormat),
    ElementSize(usize),
    RowPitch(usize),
    SlicePitch(usize),
    Width(usize),
    Height(usize),
    Depth(usize),
    ArraySize(usize),
    Buffer(Option<Mem>),
    NumMipLevels(u32),
    NumSamples(u32),
    Error(Box<OclError>),
}

An image info result.

Variants

Format(ImageFormat)ElementSize(usize)RowPitch(usize)SlicePitch(usize)Width(usize)Height(usize)Depth(usize)ArraySize(usize)Buffer(Option<Mem>)NumMipLevels(u32)NumSamples(u32)Error(Box<OclError>)

Methods

impl ImageInfoResult
[src]

fn from_bytes(request: ImageInfo, result: OclResult<Vec<u8>>) -> ImageInfoResult

Trait Implementations

impl Debug for ImageInfoResult
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for ImageInfoResult
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Into<String> for ImageInfoResult
[src]

fn into(self) -> String

Performs the conversion.

impl From<OclError> for ImageInfoResult
[src]

fn from(err: OclError) -> ImageInfoResult

Performs the conversion.

impl Error for ImageInfoResult
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

The lower-level cause of this error, if any. Read more