pub struct Cache<I: Iterator> { /* private fields */ }Expand description
Cache that works with iterator-like structures.
Note that all operations are const since there are no user-facing mutations.
Implementations§
Trait Implementations§
Source§impl<I: Ord + Iterator> Ord for Cache<I>
impl<I: Ord + Iterator> Ord for Cache<I>
Source§impl<I: PartialOrd + Iterator> PartialOrd for Cache<I>where
I::Item: PartialOrd,
impl<I: PartialOrd + Iterator> PartialOrd for Cache<I>where
I::Item: PartialOrd,
impl<I: Eq + Iterator> Eq for Cache<I>
impl<I: Iterator> StructuralPartialEq for Cache<I>
Auto Trait Implementations§
impl<I> Freeze for Cache<I>where
I: Freeze,
impl<I> RefUnwindSafe for Cache<I>
impl<I> Send for Cache<I>
impl<I> Sync for Cache<I>
impl<I> Unpin for Cache<I>
impl<I> UnwindSafe for Cache<I>
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