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