pub enum DisplayError {
OutOfMemory(OutOfMemory),
UnsupportedFeature,
}
Expand description
Error occurring on displays operations.
Variants§
OutOfMemory(OutOfMemory)
Out of either host or device memory.
UnsupportedFeature
Unsupported feature
Trait Implementations§
Source§impl Clone for DisplayError
impl Clone for DisplayError
Source§fn clone(&self) -> DisplayError
fn clone(&self) -> DisplayError
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 DisplayError
impl Debug for DisplayError
Source§impl Display for DisplayError
impl Display for DisplayError
Source§impl Error for DisplayError
impl Error for DisplayError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<OutOfMemory> for DisplayError
impl From<OutOfMemory> for DisplayError
Source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DisplayError
impl PartialEq for DisplayError
impl StructuralPartialEq for DisplayError
Auto Trait Implementations§
impl Freeze for DisplayError
impl RefUnwindSafe for DisplayError
impl Send for DisplayError
impl Sync for DisplayError
impl Unpin for DisplayError
impl UnwindSafe for DisplayError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more