pub struct Assist<T> { /* private fields */ }
Expand description
Given a list of items, this provides assistance for completing them.
Implementations§
Source§impl<T> Assist<T>
impl<T> Assist<T>
pub fn pend(&mut self, count: usize)
pub fn pend_one(&mut self)
pub fn pending(&self) -> usize
pub fn has_pending(&self) -> bool
pub fn commit_pending(&mut self)
pub fn next_options(self, next_options: NextOptions<T>) -> Self
pub fn set_next_options(&mut self, next_options: NextOptions<T>)
pub fn set_pending_special(&mut self, pending_special: usize)
pub fn with_valid(self, valid: usize) -> Self
pub fn dismantle(self) -> (usize, usize, usize, NextOptions<T>)
Trait Implementations§
impl<T: Eq> Eq for Assist<T>
impl<T> StructuralPartialEq for Assist<T>
Auto Trait Implementations§
impl<T> Freeze for Assist<T>
impl<T> RefUnwindSafe for Assist<T>where
T: RefUnwindSafe,
impl<T> Send for Assist<T>where
T: Send,
impl<T> Sync for Assist<T>where
T: Sync,
impl<T> Unpin for Assist<T>where
T: Unpin,
impl<T> UnwindSafe for Assist<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