pub struct LazyArray32<'a, T> { /* private fields */ }
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.
Implementations§
source§impl<'a, T> LazyArray32<'a, T>where
T: FromData,
impl<'a, T> LazyArray32<'a, T>where
T: FromData,
sourcepub fn new(data: &'a [u8]) -> LazyArray32<'a, T>
pub fn new(data: &'a [u8]) -> LazyArray32<'a, T>
Creates a new LazyArray
.
Trait Implementations§
source§impl<'a, T> Clone for LazyArray32<'a, T>where
T: Clone,
impl<'a, T> Clone for LazyArray32<'a, T>where
T: Clone,
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<'a, T> Debug for LazyArray32<'a, T>
impl<'a, T> Debug for LazyArray32<'a, T>
source§impl<T> Default for LazyArray32<'_, T>
impl<T> Default for LazyArray32<'_, T>
source§fn default() -> LazyArray32<'_, T>
fn default() -> LazyArray32<'_, T>
Returns the “default value” for a type. Read more
source§impl<'a, T> IntoIterator for LazyArray32<'a, T>where
T: FromData,
impl<'a, T> IntoIterator for LazyArray32<'a, T>where
T: FromData,
source§type IntoIter = LazyArrayIter32<'a, T>
type IntoIter = LazyArrayIter32<'a, T>
Which kind of iterator are we turning this into?
source§fn into_iter(self) -> <LazyArray32<'a, T> as IntoIterator>::IntoIter
fn into_iter(self) -> <LazyArray32<'a, T> as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
impl<'a, T> Copy for LazyArray32<'a, T>where
T: Copy,
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
)