Struct owned_ttf_parser::stat::AxisRecord
source · pub struct AxisRecord {
pub tag: Tag,
pub name_id: u16,
pub ordering: u16,
}
Expand description
The axis record struct provides information about a single design axis.
Fields§
§tag: Tag
Axis tag.
name_id: u16
The name ID for entries in the ‘name’ table that provide a display string for this axis.
ordering: u16
Sort order for e.g. composing font family or face names.
Trait Implementations§
source§impl Clone for AxisRecord
impl Clone for AxisRecord
source§fn clone(&self) -> AxisRecord
fn clone(&self) -> AxisRecord
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 Debug for AxisRecord
impl Debug for AxisRecord
source§impl FromData for AxisRecord
impl FromData for AxisRecord
impl Copy for AxisRecord
Auto Trait Implementations§
impl Freeze for AxisRecord
impl RefUnwindSafe for AxisRecord
impl Send for AxisRecord
impl Sync for AxisRecord
impl Unpin for AxisRecord
impl UnwindSafe for AxisRecord
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
)