Struct write_fonts::tables::layout::ClassDefBuilder
source · pub struct ClassDefBuilder {
pub items: BTreeMap<GlyphId, u16>,
}Expand description
A builder for ClassDef tables.
This will choose the best format based for the included glyphs.
Fields§
§items: BTreeMap<GlyphId, u16>Implementations§
Trait Implementations§
source§impl Debug for ClassDefBuilder
impl Debug for ClassDefBuilder
source§impl FromIterator<(GlyphId, u16)> for ClassDefBuilder
impl FromIterator<(GlyphId, u16)> for ClassDefBuilder
source§impl PartialEq<ClassDefBuilder> for ClassDefBuilder
impl PartialEq<ClassDefBuilder> for ClassDefBuilder
source§fn eq(&self, other: &ClassDefBuilder) -> bool
fn eq(&self, other: &ClassDefBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for ClassDefBuilder
impl StructuralEq for ClassDefBuilder
impl StructuralPartialEq for ClassDefBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ClassDefBuilder
impl Send for ClassDefBuilder
impl Sync for ClassDefBuilder
impl Unpin for ClassDefBuilder
impl UnwindSafe for ClassDefBuilder
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.