pub enum DisplayPlaneSurfaceError {
OutOfMemory(OutOfMemory),
UnsupportedFeature,
}
Expand description
Error occurring while creating a display plane surface.
Variants§
OutOfMemory(OutOfMemory)
Out of either host or device memory.
UnsupportedFeature
Unsupported feature
Trait Implementations§
Source§impl Clone for DisplayPlaneSurfaceError
impl Clone for DisplayPlaneSurfaceError
Source§fn clone(&self) -> DisplayPlaneSurfaceError
fn clone(&self) -> DisplayPlaneSurfaceError
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 DisplayPlaneSurfaceError
impl Debug for DisplayPlaneSurfaceError
Source§impl Display for DisplayPlaneSurfaceError
impl Display for DisplayPlaneSurfaceError
Source§impl Error for DisplayPlaneSurfaceError
impl Error for DisplayPlaneSurfaceError
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 DisplayPlaneSurfaceError
impl From<OutOfMemory> for DisplayPlaneSurfaceError
Source§fn from(source: OutOfMemory) -> Self
fn from(source: OutOfMemory) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DisplayPlaneSurfaceError
impl PartialEq for DisplayPlaneSurfaceError
impl StructuralPartialEq for DisplayPlaneSurfaceError
Auto Trait Implementations§
impl Freeze for DisplayPlaneSurfaceError
impl RefUnwindSafe for DisplayPlaneSurfaceError
impl Send for DisplayPlaneSurfaceError
impl Sync for DisplayPlaneSurfaceError
impl Unpin for DisplayPlaneSurfaceError
impl UnwindSafe for DisplayPlaneSurfaceError
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