pub struct Stack<T> { /* private fields */ }
Implementations§
Source§impl<T> Stack<T>where
T: Default,
impl<T> Stack<T>where
T: Default,
pub fn root_default() -> Self
pub fn push_default(&self) -> Self
Trait Implementations§
Source§impl<'a, T> IntoIterator for &'a Stack<T>
impl<'a, T> IntoIterator for &'a Stack<T>
Auto Trait Implementations§
impl<T> Freeze for Stack<T>
impl<T> RefUnwindSafe for Stack<T>where
T: RefUnwindSafe,
impl<T> !Send for Stack<T>
impl<T> !Sync for Stack<T>
impl<T> Unpin for Stack<T>
impl<T> UnwindSafe for Stack<T>where
T: RefUnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)