Struct ach_linked::LinkedList
source · [−]pub struct LinkedList<T: 'static> { /* private fields */ }
Implementations
sourceimpl<T> LinkedList<T>
impl<T> LinkedList<T>
pub const fn new() -> Self
sourcepub fn push(&self, node: &'static mut Node<T>)
pub fn push(&self, node: &'static mut Node<T>)
Adds a node to the LinkedList.
Call this method multiple times is safe.
sourcepub fn iter(&self) -> LinkedIterator<T>ⓘNotable traits for LinkedIterator<T>impl<T> Iterator for LinkedIterator<T> type Item = &'static mut Node<T>;
pub fn iter(&self) -> LinkedIterator<T>ⓘNotable traits for LinkedIterator<T>impl<T> Iterator for LinkedIterator<T> type Item = &'static mut Node<T>;
Remove all node and returns a iter.
Auto Trait Implementations
impl<T> RefUnwindSafe for LinkedList<T>
impl<T> Send for LinkedList<T>
impl<T> Sync for LinkedList<T>
impl<T> Unpin for LinkedList<T>
impl<T> !UnwindSafe for LinkedList<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more