Struct read_fonts::tables::fvar::InstanceRecord
source · pub struct InstanceRecord<'a> {
pub subfamily_name_id: NameId,
pub flags: u16,
pub coordinates: &'a [BigEndian<Fixed>],
pub post_script_name_id: Option<NameId>,
}
Expand description
The InstanceRecord
Fields§
§subfamily_name_id: NameId
The name ID for entries in the ‘name’ table that provide subfamily names for this instance.
flags: u16
Reserved for future use — set to 0.
coordinates: &'a [BigEndian<Fixed>]
The coordinates array for this instance.
post_script_name_id: Option<NameId>
Optional. The name ID for entries in the ‘name’ table that provide PostScript names for this instance.
Implementations§
Trait Implementations§
source§impl<'a> Clone for InstanceRecord<'a>
impl<'a> Clone for InstanceRecord<'a>
source§fn clone(&self) -> InstanceRecord<'a>
fn clone(&self) -> InstanceRecord<'a>
Returns a copy 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 ComputeSize for InstanceRecord<'_>
impl ComputeSize for InstanceRecord<'_>
source§impl<'a> Debug for InstanceRecord<'a>
impl<'a> Debug for InstanceRecord<'a>
source§impl<'a> FontReadWithArgs<'a> for InstanceRecord<'a>
impl<'a> FontReadWithArgs<'a> for InstanceRecord<'a>
source§impl<'a> SomeRecord<'a> for InstanceRecord<'a>
impl<'a> SomeRecord<'a> for InstanceRecord<'a>
fn traverse(self, data: FontData<'a>) -> RecordResolver<'a>
Auto Trait Implementations§
impl<'a> Freeze for InstanceRecord<'a>
impl<'a> RefUnwindSafe for InstanceRecord<'a>
impl<'a> Send for InstanceRecord<'a>
impl<'a> Sync for InstanceRecord<'a>
impl<'a> Unpin for InstanceRecord<'a>
impl<'a> UnwindSafe for InstanceRecord<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)