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> 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