Struct write_fonts::tables::cmap::UvsMapping
source · pub struct UvsMapping {
pub unicode_value: Uint24,
pub glyph_id: u16,
}Expand description
Part of Cmap14
Fields§
§unicode_value: Uint24Base Unicode value of the UVS
glyph_id: u16Glyph ID of the UVS
Implementations§
Trait Implementations§
source§impl Clone for UvsMapping
impl Clone for UvsMapping
source§fn clone(&self) -> UvsMapping
fn clone(&self) -> UvsMapping
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 UvsMapping
impl Debug for UvsMapping
source§impl Default for UvsMapping
impl Default for UvsMapping
source§fn default() -> UvsMapping
fn default() -> UvsMapping
Returns the “default value” for a type. Read more
source§impl FontWrite for UvsMapping
impl FontWrite for UvsMapping
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.
fn name(&self) -> &'static str
source§impl FromObjRef<UvsMapping> for UvsMapping
impl FromObjRef<UvsMapping> for UvsMapping
source§fn from_obj_ref(obj: &UvsMapping, _: FontData<'_>) -> Self
fn from_obj_ref(obj: &UvsMapping, _: FontData<'_>) -> Self
Convert
from to an instance of Self, using the provided data to resolve offsets.source§impl Validate for UvsMapping
impl Validate for UvsMapping
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 UvsMapping
impl Send for UvsMapping
impl Sync for UvsMapping
impl Unpin for UvsMapping
impl UnwindSafe for UvsMapping
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.