Enum vulkano::command_buffer::BuildError
source · pub enum BuildError {
AutoCommandBufferBuilderContextError(AutoCommandBufferBuilderContextError),
OomError(OomError),
}
Variants
AutoCommandBufferBuilderContextError(AutoCommandBufferBuilderContextError)
OomError(OomError)
Trait Implementations
sourceimpl Clone for BuildError
impl Clone for BuildError
sourcefn clone(&self) -> BuildError
fn clone(&self) -> BuildError
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 BuildError
impl Debug for BuildError
sourceimpl Display for BuildError
impl Display for BuildError
sourceimpl Error for BuildError
impl Error for BuildError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourcefn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
sourceimpl From<AutoCommandBufferBuilderContextError> for BuildError
impl From<AutoCommandBufferBuilderContextError> for BuildError
sourcefn from(err: AutoCommandBufferBuilderContextError) -> BuildError
fn from(err: AutoCommandBufferBuilderContextError) -> BuildError
Converts to this type from the input type.
sourceimpl From<OomError> for BuildError
impl From<OomError> for BuildError
sourcefn from(err: OomError) -> BuildError
fn from(err: OomError) -> BuildError
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for BuildError
impl Send for BuildError
impl Sync for BuildError
impl Unpin for BuildError
impl UnwindSafe for BuildError
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
sourceimpl<T> Content for T
impl<T> Content for T
sourcefn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
Builds a pointer to this type from a raw pointer.
sourcefn is_size_suitable(size: usize) -> bool
fn is_size_suitable(size: usize) -> bool
Returns true if the size is suitable to store a type like this.
sourcefn indiv_size() -> usize
fn indiv_size() -> usize
Returns the size of an individual element.