Enum vulkano::buffer::view::BufferViewCreationError [] [src]

pub enum BufferViewCreationError {
    OomError(OomError),
    WrongBufferUsage,
    UnsupportedFormat,
}

Error that can happen when creating a buffer view.

Variants

OomError(OomError)

Out of memory.

WrongBufferUsage

The buffer was not creating with one of the storage_texel_buffer or uniform_texel_buffer usages.

UnsupportedFormat

The requested format is not supported for this usage.

Trait Implementations

impl Clone for BufferViewCreationError
[src]

fn clone(&self) -> BufferViewCreationError

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for BufferViewCreationError
[src]

impl Debug for BufferViewCreationError
[src]

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

Formats the value using the given formatter.

impl Error for BufferViewCreationError
[src]

fn description(&self) -> &str

A short description of the error. Read more

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

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

impl Display for BufferViewCreationError
[src]

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

Formats the value using the given formatter.

impl From<OomError> for BufferViewCreationError
[src]

fn from(err: OomError) -> BufferViewCreationError

Performs the conversion.

impl From<Error> for BufferViewCreationError
[src]

fn from(err: Error) -> BufferViewCreationError

Performs the conversion.