Struct ttf_parser::Variation
source · [−]Expand description
A font variation value.
Example
use ttf_parser::{Variation, Tag};
Variation { axis: Tag::from_bytes(b"wght"), value: 500.0 };
Fields
axis: Tag
An axis tag name.
value: f32
An axis value.
Trait Implementations
impl Copy for Variation
impl StructuralPartialEq for Variation
Auto Trait Implementations
impl RefUnwindSafe for Variation
impl Send for Variation
impl Sync for Variation
impl Unpin for Variation
impl UnwindSafe for Variation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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