pub struct Lazy<'a, C> { /* private fields */ }
Expand description
Owns bytes that can be decoded on demand.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, C> Freeze for Lazy<'a, C>
impl<'a, C> RefUnwindSafe for Lazy<'a, C>where
C: RefUnwindSafe,
impl<'a, C> Send for Lazy<'a, C>where
C: Send,
impl<'a, C> Sync for Lazy<'a, C>where
C: Sync,
impl<'a, C> Unpin for Lazy<'a, C>where
C: Unpin,
impl<'a, C> UnwindSafe for Lazy<'a, C>where
C: 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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes