pub enum NextOptions<T> {
NoOptions,
Avail(usize, Vec<T>),
}Variants§
Implementations§
Source§impl<T> NextOptions<T>
impl<T> NextOptions<T>
pub fn into_position(self, valid: usize) -> (usize, Vec<T>)
Trait Implementations§
Source§impl<T: Clone> Clone for NextOptions<T>
impl<T: Clone> Clone for NextOptions<T>
Source§fn clone(&self) -> NextOptions<T>
fn clone(&self) -> NextOptions<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug> Debug for NextOptions<T>
impl<T: Debug> Debug for NextOptions<T>
Source§impl<T> Default for NextOptions<T>
impl<T> Default for NextOptions<T>
Source§impl<T: PartialEq> PartialEq for NextOptions<T>
impl<T: PartialEq> PartialEq for NextOptions<T>
impl<T: Eq> Eq for NextOptions<T>
impl<T> StructuralPartialEq for NextOptions<T>
Auto Trait Implementations§
impl<T> Freeze for NextOptions<T>
impl<T> RefUnwindSafe for NextOptions<T>where
T: RefUnwindSafe,
impl<T> Send for NextOptions<T>where
T: Send,
impl<T> Sync for NextOptions<T>where
T: Sync,
impl<T> Unpin for NextOptions<T>where
T: Unpin,
impl<T> UnwindSafe for NextOptions<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