pub enum SubsetError {
InvalidGid(String),
InvalidGidRange {
start: u32,
end: u32,
},
InvalidUnicode(String),
InvalidUnicodeRange {
start: u32,
end: u32,
},
InvalidTag(String),
InvalidId(String),
SubsetTableError(Tag),
}Variants§
InvalidGid(String)
InvalidGidRange
InvalidUnicode(String)
InvalidUnicodeRange
InvalidTag(String)
InvalidId(String)
SubsetTableError(Tag)
Trait Implementations§
Source§impl Debug for SubsetError
impl Debug for SubsetError
Source§impl Display for SubsetError
impl Display for SubsetError
Source§impl Error for SubsetError
impl Error for SubsetError
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 SubsetError
impl RefUnwindSafe for SubsetError
impl Send for SubsetError
impl Sync for SubsetError
impl Unpin for SubsetError
impl UnwindSafe for SubsetError
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<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.