pub enum AxisValue<'a> {
Format1(AxisValueFormat1<'a>),
Format2(AxisValueFormat2<'a>),
Format3(AxisValueFormat3<'a>),
Format4(AxisValueFormat4<'a>),
}
Expand description
Variants§
Format1(AxisValueFormat1<'a>)
Format2(AxisValueFormat2<'a>)
Format3(AxisValueFormat3<'a>)
Format4(AxisValueFormat4<'a>)
Implementations§
source§impl<'a> AxisValue<'a>
impl<'a> AxisValue<'a>
sourcepub fn offset_data(&self) -> FontData<'a>
pub fn offset_data(&self) -> FontData<'a>
Return the FontData
used to resolve offsets for this table.
sourcepub fn flags(&self) -> AxisValueTableFlags
pub fn flags(&self) -> AxisValueTableFlags
Flags — see below for details.
sourcepub fn value_name_id(&self) -> NameId
pub fn value_name_id(&self) -> NameId
The name ID for entries in the ‘name’ table that provide a display string for this attribute value.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for AxisValue<'a>
impl<'a> RefUnwindSafe for AxisValue<'a>
impl<'a> Send for AxisValue<'a>
impl<'a> Sync for AxisValue<'a>
impl<'a> Unpin for AxisValue<'a>
impl<'a> UnwindSafe for AxisValue<'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
)