Struct WalkTree
pub struct WalkTree<S, B>(/* private field */);
ParallelIterator for arbitrary tree-shaped patterns.
Returned by the [walk_tree()] function.
Trait Implementations
impl<S, B, I> ParallelIterator for WalkTree<S, B>
where
S: Send,
B: Fn(&S) -> I + Send + Sync,
I: IntoIterator<Item = S, IntoIter: DoubleEndedIterator> + Send,
type Item = S;fn drive_unindexed<C>(self, consumer: C) -> C::Result where C: UnindexedConsumer<Self::Item>,
impl<S: Debug, B: Debug> Debug for WalkTree<S, B>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Auto Trait Implementations
impl<S, B> Freeze for WalkTree<S, B>
where
WalkTreePostfix<S, B>: Freeze,
impl<S, B> RefUnwindSafe for WalkTree<S, B>
where
WalkTreePostfix<S, B>: RefUnwindSafe,
impl<S, B> Send for WalkTree<S, B>
where
WalkTreePostfix<S, B>: Send,
impl<S, B> Sync for WalkTree<S, B>
where
WalkTreePostfix<S, B>: Sync,
impl<S, B> Unpin for WalkTree<S, B>
where
WalkTreePostfix<S, B>: Unpin,
impl<S, B> UnsafeUnpin for WalkTree<S, B>
where
WalkTreePostfix<S, B>: UnsafeUnpin,
impl<S, B> UnwindSafe for WalkTree<S, B>
where
WalkTreePostfix<S, B>: UnwindSafe,
Blanket Implementations
impl<T> Any for WalkTree<S, B>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for WalkTree<S, B>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for WalkTree<S, B>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for WalkTree<S, B>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> IntoEither for WalkTree<S, B>
impl<T> IntoParallelIterator for WalkTree<S, B>
where
T: ParallelIterator,
type Iter = T;type Item = <T as ParallelIterator>::Item;fn into_par_iter(self) -> T
impl<T> Pointable for WalkTree<S, B>
const ALIGN: usize = _;type Init = T;unsafe fn init(init: <T as Pointable>::Init) -> usizeunsafe fn deref<'a>(ptr: usize) -> &'a Tunsafe fn deref_mut<'a>(ptr: usize) -> &'a mut Tunsafe fn drop(ptr: usize)
impl<T, U> Into<U> for WalkTree<S, B>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for WalkTree<S, B>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for WalkTree<S, B>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>