struct RangeIter<'a, T> {
ranges: Iter<'a, T>,
num_glyphs: u32,
gid: u32,
first: u32,
end: u32,
prev_end: u32,
}
Expand description
Custom iterator for range based formats.
Each individual lookup requires a linear scan through the ranges so this provides a more efficient code path for iteration.
Fields§
§ranges: Iter<'a, T>
§num_glyphs: u32
§gid: u32
§first: u32
§end: u32
§prev_end: u32
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for RangeIter<'a, T>
impl<'a, T> RefUnwindSafe for RangeIter<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for RangeIter<'a, T>where
T: Sync,
impl<'a, T> Sync for RangeIter<'a, T>where
T: Sync,
impl<'a, T> Unpin for RangeIter<'a, T>
impl<'a, T> UnwindSafe for RangeIter<'a, T>where
T: RefUnwindSafe,
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