pub enum Take {
All,
FirstAvailable(usize),
}Expand description
Which entries a preview returns.
Variants§
All
Every entry, available or not.
FirstAvailable(usize)
The first n entries whose tip is available, with the index they
have under All, so indices may skip. No entry is built after the
nth available one or after the first OverBudget one, since no
later entry can be available.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Take
impl RefUnwindSafe for Take
impl Send for Take
impl Sync for Take
impl Unpin for Take
impl UnsafeUnpin for Take
impl UnwindSafe for Take
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