Enum write_fonts::tables::variations::PackedPointNumbers
source · pub enum PackedPointNumbers {
All,
Some(Vec<u16>),
}Expand description
Variants§
All
Contains deltas for all point numbers
Some(Vec<u16>)
Contains deltas only for these specific point numbers
Trait Implementations§
source§impl Clone for PackedPointNumbers
impl Clone for PackedPointNumbers
source§fn clone(&self) -> PackedPointNumbers
fn clone(&self) -> PackedPointNumbers
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 PackedPointNumbers
impl Debug for PackedPointNumbers
source§impl Default for PackedPointNumbers
impl Default for PackedPointNumbers
source§fn default() -> PackedPointNumbers
fn default() -> PackedPointNumbers
Returns the “default value” for a type. Read more
source§impl FontWrite for PackedPointNumbers
impl FontWrite for PackedPointNumbers
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 Hash for PackedPointNumbers
impl Hash for PackedPointNumbers
source§impl PartialEq<PackedPointNumbers> for PackedPointNumbers
impl PartialEq<PackedPointNumbers> for PackedPointNumbers
source§fn eq(&self, other: &PackedPointNumbers) -> bool
fn eq(&self, other: &PackedPointNumbers) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Validate for PackedPointNumbers
impl Validate for PackedPointNumbers
source§fn validate_impl(&self, ctx: &mut ValidationCtx)
fn validate_impl(&self, ctx: &mut ValidationCtx)
Validate this table. Read more
impl Eq for PackedPointNumbers
impl StructuralEq for PackedPointNumbers
impl StructuralPartialEq for PackedPointNumbers
Auto Trait Implementations§
impl RefUnwindSafe for PackedPointNumbers
impl Send for PackedPointNumbers
impl Sync for PackedPointNumbers
impl Unpin for PackedPointNumbers
impl UnwindSafe for PackedPointNumbers
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.