#[non_exhaustive]pub struct InvalidScriptLangTag;Expand description
An error for if a ScriptLangTag does not conform to the specification.
Trait Implementations§
Source§impl Clone for InvalidScriptLangTag
impl Clone for InvalidScriptLangTag
Source§fn clone(&self) -> InvalidScriptLangTag
fn clone(&self) -> InvalidScriptLangTag
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 InvalidScriptLangTag
impl Debug for InvalidScriptLangTag
Source§impl Display for InvalidScriptLangTag
impl Display for InvalidScriptLangTag
Source§impl Error for InvalidScriptLangTag
impl Error for InvalidScriptLangTag
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 InvalidScriptLangTag
impl RefUnwindSafe for InvalidScriptLangTag
impl Send for InvalidScriptLangTag
impl Sync for InvalidScriptLangTag
impl Unpin for InvalidScriptLangTag
impl UnsafeUnpin for InvalidScriptLangTag
impl UnwindSafe for InvalidScriptLangTag
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§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§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.