pub struct TrivialLastEntry<'a, T>(/* private fields */);Implementations§
Source§impl<'a, T> TrivialLastEntry<'a, T>
impl<'a, T> TrivialLastEntry<'a, T>
Sourcepub fn pop_pointee(self) -> T
pub fn pop_pointee(self) -> T
Removes the last element from the last Vec
Sourcepub fn push_to_outer(&mut self, vec: Vec<T>) -> Option<()>
pub fn push_to_outer(&mut self, vec: Vec<T>) -> Option<()>
Pushes the given vector to the outer vector.
Sourcepub fn is_last_in_inner(&self) -> bool
pub fn is_last_in_inner(&self) -> bool
Checks if the entry is the last in the inner vector.
Trait Implementations§
Source§impl<'a, T> Deref for TrivialLastEntry<'a, T>
impl<'a, T> Deref for TrivialLastEntry<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for TrivialLastEntry<'a, T>
impl<'a, T> RefUnwindSafe for TrivialLastEntry<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for TrivialLastEntry<'a, T>where
T: Send,
impl<'a, T> Sync for TrivialLastEntry<'a, T>where
T: Sync,
impl<'a, T> Unpin for TrivialLastEntry<'a, T>
impl<'a, T> !UnwindSafe for TrivialLastEntry<'a, T>
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