pub struct BreadthFirstSearch<N: Node> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<N: Clone + Node> Clone for BreadthFirstSearch<N>
impl<N: Clone + Node> Clone for BreadthFirstSearch<N>
Source§fn clone(&self) -> BreadthFirstSearch<N>
fn clone(&self) -> BreadthFirstSearch<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 BreadthFirstSearch<N>
impl<N: Node> Contain<N> for BreadthFirstSearch<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 BreadthFirstSearch<N>
impl<N: Default + Node> Default for BreadthFirstSearch<N>
Source§fn default() -> BreadthFirstSearch<N>
fn default() -> BreadthFirstSearch<N>
Returns the “default value” for a type. Read more
Source§impl<N, V> Searcher<N, V> for BreadthFirstSearch<N>
impl<N, V> Searcher<N, V> for BreadthFirstSearch<N>
impl<N: Eq + Node> Eq for BreadthFirstSearch<N>
impl<N: Node> StructuralPartialEq for BreadthFirstSearch<N>
Auto Trait Implementations§
impl<N> Freeze for BreadthFirstSearch<N>
impl<N> RefUnwindSafe for BreadthFirstSearch<N>where
N: RefUnwindSafe,
impl<N> Send for BreadthFirstSearch<N>where
N: Send,
impl<N> Sync for BreadthFirstSearch<N>where
N: Sync,
impl<N> Unpin for BreadthFirstSearch<N>where
N: Unpin,
impl<N> UnwindSafe for BreadthFirstSearch<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