Struct freya_engine::prelude::svg::LoadError
pub struct LoadError;
Expand description
Error when something goes wrong when loading an SVG file. Sadly, Skia doesn’t give further
details so we can’t return a more expressive error type, but we still use this instead of
Option
to express the intent and allow for Try
.
Trait Implementations§
§impl Error for LoadError
impl Error for LoadError
§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
§impl Ord for LoadError
impl Ord for LoadError
§impl PartialOrd for LoadError
impl PartialOrd for LoadError
impl Copy for LoadError
impl Eq for LoadError
impl StructuralPartialEq for LoadError
Auto Trait Implementations§
impl Freeze for LoadError
impl RefUnwindSafe for LoadError
impl Send for LoadError
impl Sync for LoadError
impl Unpin for LoadError
impl UnwindSafe for LoadError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)