pub struct NamedInstance {
pub subfamily_name_id: u16,
pub flags: u16,
pub coordinates: Vec<f32>,
pub postscript_name_id: Option<u16>,
}Expand description
One named instance from fvar (a designer-authored location in axis space).
Fields§
§subfamily_name_id: u16Name table ID for the instance subfamily name (e.g. “Bold”).
flags: u16Instance flags from fvar.
coordinates: Vec<f32>Per-axis coordinates in user space, parallel to Font::axes.
postscript_name_id: Option<u16>Optional PostScript name ID when instanceSize includes it.
Trait Implementations§
Source§impl Clone for NamedInstance
impl Clone for NamedInstance
Source§impl Debug for NamedInstance
impl Debug for NamedInstance
Source§impl PartialEq for NamedInstance
impl PartialEq for NamedInstance
impl StructuralPartialEq for NamedInstance
Auto Trait Implementations§
impl Freeze for NamedInstance
impl RefUnwindSafe for NamedInstance
impl Send for NamedInstance
impl Sync for NamedInstance
impl Unpin for NamedInstance
impl UnsafeUnpin for NamedInstance
impl UnwindSafe for NamedInstance
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