pub struct VariationAxis {
pub tag: VariationAxisTag,
pub min_value: Fixed,
pub max_value: Fixed,
pub default_value: Fixed,
pub name: Option<String>,
/* private fields */
}Expand description
Information about a variation axis of a variable font.
Fields§
§tag: VariationAxisTagTag of this axis.
min_value: FixedMinimum allowed value for the axis.
max_value: FixedMaximum allowed value for the axis.
default_value: FixedDefault value for the axis.
name: Option<String>Resolved name of the axis read from the name table. None if the name uses an unsupported encoding.
Trait Implementations§
Source§impl Clone for VariationAxis
impl Clone for VariationAxis
Source§fn clone(&self) -> VariationAxis
fn clone(&self) -> VariationAxis
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for VariationAxis
impl RefUnwindSafe for VariationAxis
impl Send for VariationAxis
impl Sync for VariationAxis
impl Unpin for VariationAxis
impl UnwindSafe for VariationAxis
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