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

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

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.

WrongBufferAlignment

The offset within the buffer is not a multiple of the min_texel_buffer_offset_alignment limit.

UnsupportedFormat

The requested format is not supported for this usage.

MaxTexelBufferElementsExceeded

The maximum number of elements in the buffer view has been exceeded.

Trait Implementations

impl Clone for BufferViewCreationError[src]

impl Copy for BufferViewCreationError[src]

impl Debug for BufferViewCreationError[src]

impl Display for BufferViewCreationError[src]

impl Error for BufferViewCreationError[src]

impl From<OomError> for BufferViewCreationError[src]

Auto Trait Implementations

impl RefUnwindSafe for BufferViewCreationError

impl Send for BufferViewCreationError

impl Sync for BufferViewCreationError

impl Unpin for BufferViewCreationError

impl UnwindSafe for BufferViewCreationError

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> Content for T[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.