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