Struct read_fonts::tables::cmap::VariationSelector
source · #[repr(C)]#[repr(packed)]pub struct VariationSelector {
pub var_selector: BigEndian<Uint24>,
pub default_uvs_offset: BigEndian<Offset32>,
pub non_default_uvs_offset: BigEndian<Offset32>,
}Expand description
Part of Cmap14
Fields§
§var_selector: BigEndian<Uint24>Variation selector
default_uvs_offset: BigEndian<Offset32>Offset from the start of the format 14 subtable to Default UVS Table. May be 0.
non_default_uvs_offset: BigEndian<Offset32>Offset from the start of the format 14 subtable to Non-Default UVS Table. May be 0.
Implementations§
source§impl VariationSelector
impl VariationSelector
sourcepub fn var_selector(&self) -> Uint24
pub fn var_selector(&self) -> Uint24
Variation selector
sourcepub fn default_uvs_offset(&self) -> Offset32
pub fn default_uvs_offset(&self) -> Offset32
Offset from the start of the format 14 subtable to Default UVS Table. May be 0.
sourcepub fn non_default_uvs_offset(&self) -> Offset32
pub fn non_default_uvs_offset(&self) -> Offset32
Offset from the start of the format 14 subtable to Non-Default UVS Table. May be 0.
Trait Implementations§
source§impl Clone for VariationSelector
impl Clone for VariationSelector
source§fn clone(&self) -> VariationSelector
fn clone(&self) -> VariationSelector
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 VariationSelector
impl Debug for VariationSelector
source§impl FixedSize for VariationSelector
impl FixedSize for VariationSelector
source§const RAW_BYTE_LEN: usize = 11usize
const RAW_BYTE_LEN: usize = 11usize
The raw size of this type, in bytes. Read more