Struct sierra::OutOfMemory [−][src]
Error that may occur when allocation fails because of either host or device memory is exhausted.
It can be matched to see which.
Trait Implementations
impl Clone for OutOfMemory
[src]
fn clone(&self) -> OutOfMemory
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for OutOfMemory
[src]
impl Debug for OutOfMemory
[src]
impl Display for OutOfMemory
[src]
impl Eq for OutOfMemory
[src]
impl Error for OutOfMemory
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<OutOfMemory> for CreateRenderPassError
[src]
fn from(source: OutOfMemory) -> Self
[src]
impl From<OutOfMemory> for EnumerateDeviceError
[src]
fn from(source: OutOfMemory) -> Self
[src]
impl From<OutOfMemory> for PresentError
[src]
fn from(source: OutOfMemory) -> Self
[src]
impl From<OutOfMemory> for CreateShaderModuleError
[src]
fn from(source: OutOfMemory) -> Self
[src]
impl From<OutOfMemory> for SurfaceError
[src]
fn from(source: OutOfMemory) -> Self
[src]
impl From<OutOfMemory> for CreateSurfaceError
[src]
fn from(source: OutOfMemory) -> Self
[src]
impl<E: Error + 'static> From<OutOfMemory> for CreateDeviceError<E>
[src]
fn from(source: OutOfMemory) -> Self
[src]
impl From<OutOfMemory> for CreateBufferError
[src]
fn from(source: OutOfMemory) -> Self
[src]
impl From<OutOfMemory> for CreateImageError
[src]
fn from(source: OutOfMemory) -> Self
[src]
impl From<OutOfMemory> for MapError
[src]
fn from(source: OutOfMemory) -> Self
[src]
impl PartialEq<OutOfMemory> for OutOfMemory
[src]
fn eq(&self, other: &OutOfMemory) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for OutOfMemory
[src]
impl StructuralPartialEq for OutOfMemory
[src]
Auto Trait Implementations
impl RefUnwindSafe for OutOfMemory
impl Send for OutOfMemory
impl Sync for OutOfMemory
impl Unpin for OutOfMemory
impl UnwindSafe for OutOfMemory
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,