pub struct ListNode {
pub val: i32,
pub next: Option<Box<ListNode>>,
}
Fields§
§val: i32
§next: Option<Box<ListNode>>
Trait Implementations§
impl Eq for ListNode
impl StructuralPartialEq for ListNode
Auto Trait Implementations§
impl Freeze for ListNode
impl RefUnwindSafe for ListNode
impl Send for ListNode
impl Sync for ListNode
impl Unpin for ListNode
impl UnwindSafe for ListNode
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