Enum gfx_hal::buffer::ViewCreationError
source · pub enum ViewCreationError {
OutOfMemory(OutOfMemory),
UnsupportedFormat {
format: Option<Format>,
},
}
Expand description
Error creating a buffer view.
Variants
OutOfMemory(OutOfMemory)
Out of either host or device memory.
UnsupportedFormat
Buffer view format is not supported.
Trait Implementations
sourceimpl Clone for ViewCreationError
impl Clone for ViewCreationError
sourcefn clone(&self) -> ViewCreationError
fn clone(&self) -> ViewCreationError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ViewCreationError
impl Debug for ViewCreationError
sourceimpl Display for ViewCreationError
impl Display for ViewCreationError
sourceimpl Fail for ViewCreationError
impl Fail for ViewCreationError
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moresourceimpl From<OutOfMemory> for ViewCreationError
impl From<OutOfMemory> for ViewCreationError
sourcefn from(error: OutOfMemory) -> Self
fn from(error: OutOfMemory) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ViewCreationError> for ViewCreationError
impl PartialEq<ViewCreationError> for ViewCreationError
sourcefn eq(&self, other: &ViewCreationError) -> bool
fn eq(&self, other: &ViewCreationError) -> bool
impl Eq for ViewCreationError
impl StructuralEq for ViewCreationError
impl StructuralPartialEq for ViewCreationError
Auto Trait Implementations
impl RefUnwindSafe for ViewCreationError
impl Send for ViewCreationError
impl Sync for ViewCreationError
impl Unpin for ViewCreationError
impl UnwindSafe for ViewCreationError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more