pub struct NamedInstance {
pub subfamily_name_id: u16,
pub flags: u16,
pub coords: Vec<f32>,
pub post_script_name_id: Option<u16>,
}Expand description
One named instance (a pre-defined coordinate vector).
Fields§
§subfamily_name_id: u16name table id for the subfamily label (“Light”, “Bold” …).
flags: u16§coords: Vec<f32>One coordinate per axis, in axis-declaration order.
post_script_name_id: Option<u16>Optional name table id for the PostScript name; None when
the instance record is the short variant (no trailing
postScriptNameID).
Trait Implementations§
Source§impl Clone for NamedInstance
impl Clone for NamedInstance
Source§fn clone(&self) -> NamedInstance
fn clone(&self) -> NamedInstance
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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