Struct write_fonts::tables::cmap::NonDefaultUvs
source · pub struct NonDefaultUvs {
pub num_uvs_mappings: u32,
pub uvs_mapping: Vec<UvsMapping>,
}Expand description
Fields§
§num_uvs_mappings: u32§uvs_mapping: Vec<UvsMapping>Implementations§
source§impl NonDefaultUvs
impl NonDefaultUvs
sourcepub fn new(num_uvs_mappings: u32, uvs_mapping: Vec<UvsMapping>) -> Self
pub fn new(num_uvs_mappings: u32, uvs_mapping: Vec<UvsMapping>) -> Self
Construct a new NonDefaultUvs
Trait Implementations§
source§impl Clone for NonDefaultUvs
impl Clone for NonDefaultUvs
source§fn clone(&self) -> NonDefaultUvs
fn clone(&self) -> NonDefaultUvs
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 NonDefaultUvs
impl Debug for NonDefaultUvs
source§impl Default for NonDefaultUvs
impl Default for NonDefaultUvs
source§fn default() -> NonDefaultUvs
fn default() -> NonDefaultUvs
Returns the “default value” for a type. Read more
source§impl<'a> FontRead<'a> for NonDefaultUvs
impl<'a> FontRead<'a> for NonDefaultUvs
source§impl FontWrite for NonDefaultUvs
impl FontWrite for NonDefaultUvs
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 Validate for NonDefaultUvs
impl Validate for NonDefaultUvs
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 NonDefaultUvs
impl Send for NonDefaultUvs
impl Sync for NonDefaultUvs
impl Unpin for NonDefaultUvs
impl UnwindSafe for NonDefaultUvs
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.