pub struct ListNode<T> {
pub color: Color,
pub len: usize,
pub left: ListTree<T>,
pub right: ListTree<T>,
}Fields§
§color: Color§len: usize§left: ListTree<T>§right: ListTree<T>Trait Implementations§
Source§impl<T: PartialEq> PartialEq for ListNode<T>
impl<T: PartialEq> PartialEq for ListNode<T>
impl<T: Eq> Eq for ListNode<T>
impl<T> StructuralPartialEq for ListNode<T>
Auto Trait Implementations§
impl<T> Freeze for ListNode<T>where
T: Freeze,
impl<T> RefUnwindSafe for ListNode<T>where
T: RefUnwindSafe,
impl<T> !Send for ListNode<T>
impl<T> !Sync for ListNode<T>
impl<T> Unpin for ListNode<T>where
T: Unpin,
impl<T> UnsafeUnpin for ListNode<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for ListNode<T>where
T: UnwindSafe + 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