pub enum PainterCreationError {
CreatePipelineFailed(GraphicsPipelineCreationError),
CreateSamplerFailed(SamplerCreationError),
}
Variants
CreatePipelineFailed(GraphicsPipelineCreationError)
CreateSamplerFailed(SamplerCreationError)
Trait Implementations
sourceimpl Debug for PainterCreationError
impl Debug for PainterCreationError
sourceimpl Display for PainterCreationError
impl Display for PainterCreationError
sourceimpl Error for PainterCreationError
impl Error for PainterCreationError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<GraphicsPipelineCreationError> for PainterCreationError
impl From<GraphicsPipelineCreationError> for PainterCreationError
sourcefn from(source: GraphicsPipelineCreationError) -> Self
fn from(source: GraphicsPipelineCreationError) -> Self
Converts to this type from the input type.
sourceimpl From<SamplerCreationError> for PainterCreationError
impl From<SamplerCreationError> for PainterCreationError
sourcefn from(source: SamplerCreationError) -> Self
fn from(source: SamplerCreationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for PainterCreationError
impl Send for PainterCreationError
impl Sync for PainterCreationError
impl Unpin for PainterCreationError
impl UnwindSafe for PainterCreationError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more