Struct ttf_parser::VariationAxis
source · [−]#[repr(C)]pub struct VariationAxis {
pub tag: Tag,
pub min_value: f32,
pub def_value: f32,
pub max_value: f32,
pub name_id: u16,
pub hidden: bool,
}
Expand description
Fields
tag: Tag
min_value: f32
def_value: f32
max_value: f32
name_id: u16
An axis name in the name
table.
Trait Implementations
sourceimpl Clone for VariationAxis
impl Clone for VariationAxis
sourcefn clone(&self) -> VariationAxis
fn clone(&self) -> VariationAxis
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for VariationAxis
impl Debug for VariationAxis
sourceimpl FromData for VariationAxis
impl FromData for VariationAxis
sourceimpl PartialEq<VariationAxis> for VariationAxis
impl PartialEq<VariationAxis> for VariationAxis
sourcefn eq(&self, other: &VariationAxis) -> bool
fn eq(&self, other: &VariationAxis) -> bool
impl Copy for VariationAxis
impl StructuralPartialEq for VariationAxis
Auto Trait Implementations
impl RefUnwindSafe for VariationAxis
impl Send for VariationAxis
impl Sync for VariationAxis
impl Unpin for VariationAxis
impl UnwindSafe for VariationAxis
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more