pub struct EmptyFontSourcesError;Expand description
Error returned when converting an empty collection into FontSources.
Trait Implementations§
Source§impl Clone for EmptyFontSourcesError
impl Clone for EmptyFontSourcesError
Source§fn clone(&self) -> EmptyFontSourcesError
fn clone(&self) -> EmptyFontSourcesError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EmptyFontSourcesError
Source§impl Debug for EmptyFontSourcesError
impl Debug for EmptyFontSourcesError
Source§impl Display for EmptyFontSourcesError
impl Display for EmptyFontSourcesError
impl Eq for EmptyFontSourcesError
Source§impl Error for EmptyFontSourcesError
impl Error for EmptyFontSourcesError
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 PartialEq for EmptyFontSourcesError
impl PartialEq for EmptyFontSourcesError
impl StructuralPartialEq for EmptyFontSourcesError
Auto Trait Implementations§
impl Freeze for EmptyFontSourcesError
impl RefUnwindSafe for EmptyFontSourcesError
impl Send for EmptyFontSourcesError
impl Sync for EmptyFontSourcesError
impl Unpin for EmptyFontSourcesError
impl UnsafeUnpin for EmptyFontSourcesError
impl UnwindSafe for EmptyFontSourcesError
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