Struct write_fonts::tables::glyf::NoComponents
source · #[non_exhaustive]pub struct NoComponents;Expand description
An error that occurs if a CompositeGlyph is constructed with no components.
Trait Implementations§
source§impl Clone for NoComponents
impl Clone for NoComponents
source§fn clone(&self) -> NoComponents
fn clone(&self) -> NoComponents
Returns a copy 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 NoComponents
impl Debug for NoComponents
source§impl Display for NoComponents
impl Display for NoComponents
source§impl Error for NoComponents
impl Error for NoComponents
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
impl Copy for NoComponents
Auto Trait Implementations§
impl RefUnwindSafe for NoComponents
impl Send for NoComponents
impl Sync for NoComponents
impl Unpin for NoComponents
impl UnwindSafe for NoComponents
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.