Struct ttf_parser::parser::LazyArray32
source · pub struct LazyArray32<'a, T> {
data: &'a [u8],
data_type: PhantomData<T>,
}
Expand description
A slice-like container that converts internal binary data only on access.
This is a low-level, internal structure that should not be used directly.
Fields§
§data: &'a [u8]
§data_type: PhantomData<T>
Implementations§
source§impl<'a, T: FromData> LazyArray32<'a, T>
impl<'a, T: FromData> LazyArray32<'a, T>
Trait Implementations§
source§impl<'a, T: Clone> Clone for LazyArray32<'a, T>
impl<'a, T: Clone> Clone for LazyArray32<'a, T>
source§fn clone(&self) -> LazyArray32<'a, T>
fn clone(&self) -> LazyArray32<'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 LazyArray32<'_, T>
impl<T> Default for LazyArray32<'_, T>
source§impl<'a, T: FromData> IntoIterator for LazyArray32<'a, T>
impl<'a, T: FromData> IntoIterator for LazyArray32<'a, T>
impl<'a, T: Copy> Copy for LazyArray32<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for LazyArray32<'a, T>
impl<'a, T> RefUnwindSafe for LazyArray32<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for LazyArray32<'a, T>where
T: Send,
impl<'a, T> Sync for LazyArray32<'a, T>where
T: Sync,
impl<'a, T> Unpin for LazyArray32<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for LazyArray32<'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§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
)