pub enum SaveContextError {
CanvasReturnedNoContext,
}Variants§
CanvasReturnedNoContext
Trait Implementations§
Source§impl Clone for SaveContextError
impl Clone for SaveContextError
Source§fn clone(&self) -> SaveContextError
fn clone(&self) -> SaveContextError
Returns a duplicate 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 SaveContextError
impl Debug for SaveContextError
Source§impl Display for SaveContextError
impl Display for SaveContextError
Source§impl Error for SaveContextError
impl Error for SaveContextError
1.30.0 · 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<SaveContextError> for RendererBuilderError
impl From<SaveContextError> for RendererBuilderError
Source§fn from(source: SaveContextError) -> Self
fn from(source: SaveContextError) -> Self
Converts to this type from the input type.
Source§impl Hash for SaveContextError
impl Hash for SaveContextError
Source§impl PartialEq for SaveContextError
impl PartialEq for SaveContextError
impl Eq for SaveContextError
impl StructuralPartialEq for SaveContextError
Auto Trait Implementations§
impl Freeze for SaveContextError
impl RefUnwindSafe for SaveContextError
impl Send for SaveContextError
impl Sync for SaveContextError
impl Unpin for SaveContextError
impl UnwindSafe for SaveContextError
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