Struct write_fonts::tables::variations::DeltaSetIndexMapFormat1
source · pub struct DeltaSetIndexMapFormat1 {
pub entry_format: EntryFormat,
pub map_count: u32,
pub map_data: Vec<u8>,
}
Expand description
The DeltaSetIndexMap table format 1
Fields§
§entry_format: EntryFormat
A packed field that describes the compressed representation of delta-set indices. See details below.
map_count: u32
The number of mapping entries.
map_data: Vec<u8>
The delta-set index mapping data. See details below.
Implementations§
Trait Implementations§
source§impl Clone for DeltaSetIndexMapFormat1
impl Clone for DeltaSetIndexMapFormat1
source§fn clone(&self) -> DeltaSetIndexMapFormat1
fn clone(&self) -> DeltaSetIndexMapFormat1
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 DeltaSetIndexMapFormat1
impl Debug for DeltaSetIndexMapFormat1
source§impl Default for DeltaSetIndexMapFormat1
impl Default for DeltaSetIndexMapFormat1
source§fn default() -> DeltaSetIndexMapFormat1
fn default() -> DeltaSetIndexMapFormat1
Returns the “default value” for a type. Read more
source§impl<'a> FontRead<'a> for DeltaSetIndexMapFormat1
impl<'a> FontRead<'a> for DeltaSetIndexMapFormat1
source§impl FontWrite for DeltaSetIndexMapFormat1
impl FontWrite for DeltaSetIndexMapFormat1
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 DeltaSetIndexMapFormat1
impl Validate for DeltaSetIndexMapFormat1
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 DeltaSetIndexMapFormat1
impl Send for DeltaSetIndexMapFormat1
impl Sync for DeltaSetIndexMapFormat1
impl Unpin for DeltaSetIndexMapFormat1
impl UnwindSafe for DeltaSetIndexMapFormat1
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.