Enum sierra::PresentError
source · pub enum PresentError {
QueueError {
source: QueueError,
},
OutOfDate,
SurfaceLost,
}
Variants§
Trait Implementations§
source§impl Clone for PresentError
impl Clone for PresentError
source§fn clone(&self) -> PresentError
fn clone(&self) -> PresentError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PresentError
impl Debug for PresentError
source§impl Display for PresentError
impl Display for PresentError
source§impl Error for PresentError
impl Error for PresentError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<DeviceLost> for PresentError
impl From<DeviceLost> for PresentError
source§fn from(source: DeviceLost) -> Self
fn from(source: DeviceLost) -> Self
Converts to this type from the input type.
source§impl From<OutOfMemory> for PresentError
impl From<OutOfMemory> for PresentError
source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
source§impl From<QueueError> for PresentError
impl From<QueueError> for PresentError
source§fn from(source: QueueError) -> Self
fn from(source: QueueError) -> Self
Converts to this type from the input type.
source§impl PartialEq<PresentError> for PresentError
impl PartialEq<PresentError> for PresentError
source§fn eq(&self, other: &PresentError) -> bool
fn eq(&self, other: &PresentError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.