pub enum AddImageError {
Borrowed,
}Expand description
Why an image did not reach a session’s asset table.
Variants§
Borrowed
The session lays out against an asset table it borrowed, and the caller who owns it is the one who can add to it.
Trait Implementations§
Source§impl Debug for AddImageError
impl Debug for AddImageError
Source§impl Display for AddImageError
impl Display for AddImageError
Source§impl Error for AddImageError
impl Error for AddImageError
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()
Auto Trait Implementations§
impl Freeze for AddImageError
impl RefUnwindSafe for AddImageError
impl Send for AddImageError
impl Sync for AddImageError
impl Unpin for AddImageError
impl UnsafeUnpin for AddImageError
impl UnwindSafe for AddImageError
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
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.