pub struct DoublySortedLinkedList<T>{
pub head: Arc<Mutex<Option<Node<T>>>>,
pub tail: Arc<Mutex<Option<Node<T>>>>,
}
Fields§
§head: Arc<Mutex<Option<Node<T>>>>
§tail: Arc<Mutex<Option<Node<T>>>>
Implementations§
Auto Trait Implementations§
impl<T> Freeze for DoublySortedLinkedList<T>
impl<T> RefUnwindSafe for DoublySortedLinkedList<T>
impl<T> Send for DoublySortedLinkedList<T>where
T: Send,
impl<T> Sync for DoublySortedLinkedList<T>where
T: Send,
impl<T> Unpin for DoublySortedLinkedList<T>
impl<T> UnwindSafe for DoublySortedLinkedList<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