pub struct Variation {
pub tag: Tag,
pub value: f32,
}Expand description
A variation setting for a font instance.
The tag identifies the axis, and the value is the desired value for that axis in user space.
Fields§
§tag: TagThe tag that identifies the axis.
value: f32The value for the axis in user space.
Implementations§
Trait Implementations§
impl Copy for Variation
impl StructuralPartialEq for Variation
Auto Trait Implementations§
impl Freeze for Variation
impl RefUnwindSafe for Variation
impl Send for Variation
impl Sync for Variation
impl Unpin for Variation
impl UnsafeUnpin for Variation
impl UnwindSafe for Variation
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