Struct ttf_parser::LazyArray16
source · pub struct LazyArray16<'a, T> { /* private fields */ }
Expand description
A slice-like container that converts internal binary data only on access.
Array values are stored in a continuous data chunk.
Implementations§
source§impl LazyArray16<'_, RangeRecord>
impl LazyArray16<'_, RangeRecord>
sourcepub fn range(&self, glyph: GlyphId) -> Option<RangeRecord>
pub fn range(&self, glyph: GlyphId) -> Option<RangeRecord>
Returns a RangeRecord
for a glyph.
source§impl<'a, T: FromData> LazyArray16<'a, T>
impl<'a, T: FromData> LazyArray16<'a, T>
Trait Implementations§
source§impl<'a, T: Clone> Clone for LazyArray16<'a, T>
impl<'a, T: Clone> Clone for LazyArray16<'a, T>
source§fn clone(&self) -> LazyArray16<'a, T>
fn clone(&self) -> LazyArray16<'a, T>
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<T> Default for LazyArray16<'_, T>
impl<T> Default for LazyArray16<'_, T>
source§impl<'a, T: FromData> IntoIterator for LazyArray16<'a, T>
impl<'a, T: FromData> IntoIterator for LazyArray16<'a, T>
impl<'a, T: Copy> Copy for LazyArray16<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for LazyArray16<'a, T>
impl<'a, T> RefUnwindSafe for LazyArray16<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for LazyArray16<'a, T>where
T: Send,
impl<'a, T> Sync for LazyArray16<'a, T>where
T: Sync,
impl<'a, T> Unpin for LazyArray16<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for LazyArray16<'a, T>where
T: UnwindSafe,
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)