pub struct SubsetError {
pub kind: SubsetErrorKind,
pub table: [u8; 4],
pub glyph: Option<u16>,
pub offset: Option<usize>,
}Expand description
Bounded failure context. Offsets identify the failing table structure
(or glyph charstring when glyph is present), never a host file path.
Fields§
§kind: SubsetErrorKind§table: [u8; 4]§glyph: Option<u16>§offset: Option<usize>Trait Implementations§
Source§impl Clone for SubsetError
impl Clone for SubsetError
impl Copy for SubsetError
Source§impl Debug for SubsetError
impl Debug for SubsetError
Source§impl Display for SubsetError
impl Display for SubsetError
impl Eq 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()
Source§impl PartialEq for SubsetError
impl PartialEq for SubsetError
impl StructuralPartialEq for SubsetError
Auto Trait Implementations§
impl Freeze for SubsetError
impl RefUnwindSafe for SubsetError
impl Send for SubsetError
impl Sync for SubsetError
impl Unpin for SubsetError
impl UnsafeUnpin 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