Struct ttf_parser::avar::SegmentMaps
source · pub struct SegmentMaps<'a> {
count: u16,
data: &'a [u8],
}
Expand description
A list of segment maps.
Can be empty.
The internal data layout is not designed for random access,
therefore we’re not providing the get()
method and only an iterator.
Fields§
§count: u16
§data: &'a [u8]
Implementations§
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 Debug for SegmentMaps<'_>
impl Debug for SegmentMaps<'_>
source§impl<'a> IntoIterator for SegmentMaps<'a>
impl<'a> IntoIterator for SegmentMaps<'a>
§type Item = LazyArray16<'a, AxisValueMap>
type Item = LazyArray16<'a, AxisValueMap>
The type of the elements being iterated over.
§type IntoIter = SegmentMapsIter<'a>
type IntoIter = SegmentMapsIter<'a>
Which kind of iterator are we turning this into?
impl<'a> Copy 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