pub struct Axis {
index: u32,
record: VariationAxisRecord,
}Expand description
A variation axis, such as weight or width, that a user can change in a variable font.
See https://fonts.google.com/knowledge/glossary/axis_in_variable_fonts
Fields§
§index: u32§record: VariationAxisRecordImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Axis
impl RefUnwindSafe for Axis
impl Send for Axis
impl Sync for Axis
impl Unpin for Axis
impl UnsafeUnpin for Axis
impl UnwindSafe for Axis
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