Struct write_fonts::tables::layout::ClassDefFormat1
source · Expand description
Fields§
§start_glyph_id: GlyphId
First glyph ID of the classValueArray
class_value_array: Vec<u16>
Array of Class Values — one per glyph ID
Implementations§
Trait Implementations§
source§impl Clone for ClassDefFormat1
impl Clone for ClassDefFormat1
source§fn clone(&self) -> ClassDefFormat1
fn clone(&self) -> ClassDefFormat1
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 ClassDefFormat1
impl Debug for ClassDefFormat1
source§impl Default for ClassDefFormat1
impl Default for ClassDefFormat1
source§fn default() -> ClassDefFormat1
fn default() -> ClassDefFormat1
Returns the “default value” for a type. Read more
source§impl<'a> FontRead<'a> for ClassDefFormat1
impl<'a> FontRead<'a> for ClassDefFormat1
source§impl FontWrite for ClassDefFormat1
impl FontWrite for ClassDefFormat1
source§fn write_into(&self, writer: &mut TableWriter)
fn write_into(&self, writer: &mut TableWriter)
Write our data and information about offsets into this TableWriter.
source§impl Validate for ClassDefFormat1
impl Validate for ClassDefFormat1
source§fn validate_impl(&self, ctx: &mut ValidationCtx)
fn validate_impl(&self, ctx: &mut ValidationCtx)
Validate this table. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ClassDefFormat1
impl Send for ClassDefFormat1
impl Sync for ClassDefFormat1
impl Unpin for ClassDefFormat1
impl UnwindSafe for ClassDefFormat1
Blanket Implementations§
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.