pub struct SegmentMaps<'a> {
pub position_map_count: BigEndian<u16>,
pub axis_value_maps: &'a [AxisValueMap],
}
Expand description
SegmentMaps record
Fields§
§position_map_count: BigEndian<u16>
The number of correspondence pairs for this axis.
axis_value_maps: &'a [AxisValueMap]
The array of axis value map records for this axis.
Implementations§
source§impl<'a> SegmentMaps<'a>
impl<'a> SegmentMaps<'a>
sourcepub fn position_map_count(&self) -> u16
pub fn position_map_count(&self) -> u16
The number of correspondence pairs for this axis.
sourcepub fn axis_value_maps(&self) -> &'a [AxisValueMap]
pub fn axis_value_maps(&self) -> &'a [AxisValueMap]
The array of axis value map records for this axis.
Trait Implementations§
source§impl<'a> Clone for SegmentMaps<'a>
impl<'a> Clone for SegmentMaps<'a>
source§fn clone(&self) -> SegmentMaps<'a>
fn clone(&self) -> SegmentMaps<'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<'a> Debug for SegmentMaps<'a>
impl<'a> Debug for SegmentMaps<'a>
source§impl<'a> FontRead<'a> for SegmentMaps<'a>
impl<'a> FontRead<'a> for SegmentMaps<'a>
source§impl<'a> Hash for SegmentMaps<'a>
impl<'a> Hash for SegmentMaps<'a>
source§impl<'a> Ord for SegmentMaps<'a>
impl<'a> Ord for SegmentMaps<'a>
source§fn cmp(&self, other: &SegmentMaps<'a>) -> Ordering
fn cmp(&self, other: &SegmentMaps<'a>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<'a> PartialEq for SegmentMaps<'a>
impl<'a> PartialEq for SegmentMaps<'a>
source§impl<'a> PartialOrd for SegmentMaps<'a>
impl<'a> PartialOrd for SegmentMaps<'a>
source§impl<'a> SomeRecord<'a> for SegmentMaps<'a>
impl<'a> SomeRecord<'a> for SegmentMaps<'a>
fn traverse(self, data: FontData<'a>) -> RecordResolver<'a>
source§impl<'a> VarSize for SegmentMaps<'a>
impl<'a> VarSize for SegmentMaps<'a>
impl<'a> Eq for SegmentMaps<'a>
impl<'a> StructuralPartialEq for SegmentMaps<'a>
Auto Trait Implementations§
impl<'a> Freeze for SegmentMaps<'a>
impl<'a> RefUnwindSafe for SegmentMaps<'a>
impl<'a> Send for SegmentMaps<'a>
impl<'a> Sync for SegmentMaps<'a>
impl<'a> Unpin for SegmentMaps<'a>
impl<'a> UnwindSafe for SegmentMaps<'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
)