Struct leetgo_rs::LinkedList
source · pub struct LinkedList(_);
Trait Implementations§
source§impl Clone for LinkedList
impl Clone for LinkedList
source§fn clone(&self) -> LinkedList
fn clone(&self) -> LinkedList
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LinkedList
impl Debug for LinkedList
source§impl<'de> Deserialize<'de> for LinkedList
impl<'de> Deserialize<'de> for LinkedList
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<LinkedList> for Option<Box<ListNode>>
impl From<LinkedList> for Option<Box<ListNode>>
source§fn from(list: LinkedList) -> Self
fn from(list: LinkedList) -> Self
Converts to this type from the input type.
source§impl PartialEq<LinkedList> for LinkedList
impl PartialEq<LinkedList> for LinkedList
source§fn eq(&self, other: &LinkedList) -> bool
fn eq(&self, other: &LinkedList) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.