pub struct DepthFirstSearch<N: Node> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<N: Clone + Node> Clone for DepthFirstSearch<N>
impl<N: Clone + Node> Clone for DepthFirstSearch<N>
Source§fn clone(&self) -> DepthFirstSearch<N>
fn clone(&self) -> DepthFirstSearch<N>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<N: Node> Contain<N> for DepthFirstSearch<N>
impl<N: Node> Contain<N> for DepthFirstSearch<N>
Source§fn contains(&self, elem: &N) -> bool
fn contains(&self, elem: &N) -> bool
Contain::contains returns true if the given element is in the Contain instance
Source§fn contains_all(&self, iter: impl IntoIterator<Item = T>) -> bool
fn contains_all(&self, iter: impl IntoIterator<Item = T>) -> bool
Contain::contains_all returns true if all elements in the given iterator are in the Contain instance
Source§fn contains_some(&self, iter: impl IntoIterator<Item = T>) -> bool
fn contains_some(&self, iter: impl IntoIterator<Item = T>) -> bool
Contain::contains_some returns true if any element in the given iterator is in the Contain instance
Source§impl<N: Default + Node> Default for DepthFirstSearch<N>
impl<N: Default + Node> Default for DepthFirstSearch<N>
Source§fn default() -> DepthFirstSearch<N>
fn default() -> DepthFirstSearch<N>
Returns the “default value” for a type. Read more
Source§impl<N: Ord + Node> Ord for DepthFirstSearch<N>
impl<N: Ord + Node> Ord for DepthFirstSearch<N>
Source§fn cmp(&self, other: &DepthFirstSearch<N>) -> Ordering
fn cmp(&self, other: &DepthFirstSearch<N>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<N: PartialOrd + Node> PartialOrd for DepthFirstSearch<N>
impl<N: PartialOrd + Node> PartialOrd for DepthFirstSearch<N>
Source§impl<N, V> Searcher<N, V> for DepthFirstSearch<N>
impl<N, V> Searcher<N, V> for DepthFirstSearch<N>
impl<N: Eq + Node> Eq for DepthFirstSearch<N>
impl<N: Node> StructuralPartialEq for DepthFirstSearch<N>
Auto Trait Implementations§
impl<N> Freeze for DepthFirstSearch<N>
impl<N> RefUnwindSafe for DepthFirstSearch<N>where
N: RefUnwindSafe,
impl<N> Send for DepthFirstSearch<N>where
N: Send,
impl<N> Sync for DepthFirstSearch<N>where
N: Sync,
impl<N> Unpin for DepthFirstSearch<N>where
N: Unpin,
impl<N> UnwindSafe for DepthFirstSearch<N>where
N: UnwindSafe,
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