pub struct VariationAxisInfo {
pub tag: FontTag,
pub min_value: f32,
pub default_value: f32,
pub max_value: f32,
pub hidden: bool,
}Expand description
An axis advertised by a resolved face’s fvar table, in design units.
Fields§
§tag: FontTagFour-byte OpenType tag.
min_value: f32Minimum supported coordinate.
default_value: f32Default coordinate when no explicit or implicit setting applies.
max_value: f32Maximum supported coordinate.
Whether the font recommends hiding this axis from ordinary inspectors.
Trait Implementations§
Source§impl Clone for VariationAxisInfo
impl Clone for VariationAxisInfo
Source§impl Debug for VariationAxisInfo
impl Debug for VariationAxisInfo
Source§impl PartialEq for VariationAxisInfo
impl PartialEq for VariationAxisInfo
impl StructuralPartialEq for VariationAxisInfo
Auto Trait Implementations§
impl Forget for VariationAxisInfo
impl Freeze for VariationAxisInfo
impl RefUnwindSafe for VariationAxisInfo
impl Send for VariationAxisInfo
impl Sync for VariationAxisInfo
impl Unpin for VariationAxisInfo
impl UnsafeUnpin for VariationAxisInfo
impl UnwindSafe for VariationAxisInfo
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more