pub struct LazySeq {
pub state: Mutex<LazySeqState>,
}Expand description
A lazy sequence that forces its thunk exactly once and caches the result.
Fields§
§state: Mutex<LazySeqState>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for LazySeq
impl !Send for LazySeq
impl !Sync for LazySeq
impl RefUnwindSafe for LazySeq
impl Unpin for LazySeq
impl UnsafeUnpin for LazySeq
impl UnwindSafe for LazySeq
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