pub struct Tagging {
pub family: String,
pub loc: String,
pub tag: String,
pub value: f32,
}Expand description
A tag entry for a family
A tagging is an association of a family (and optionally a specific designspace location within that family) with a tag and a numeric value for that tag.
Fields§
§family: StringFont family name
loc: StringOptional designspace location within the family
This is given in the form used in the fonts web API; for example, ital,wght@1,700
refers to the italic style at weight 700.
tag: StringTag name
value: f32Tag value
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tagging
impl RefUnwindSafe for Tagging
impl Send for Tagging
impl Sync for Tagging
impl Unpin for Tagging
impl UnwindSafe for Tagging
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