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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VariationAxis) -> bool
fn ne(&self, other: &VariationAxis) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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