Struct daggy::walker::Take [] [src]

pub struct Take<G, W> { /* fields omitted */ }

A walker that yields the first n steps of this walk.

Methods

impl<G, W> Take<G, W>
[src]

[src]

Create a new Take walker.

Trait Implementations

impl<G: Clone, W: Clone> Clone for Take<G, W>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<G: Debug, W: Debug> Debug for Take<G, W>
[src]

[src]

Formats the value using the given formatter. Read more

impl<G, W> Walker<G> for Take<G, W> where
    G: GraphRef,
    W: Walker<G>, 
[src]

[src]

Advance to the next item

Important traits for WalkerIter<W, C>
[src]

Create an iterator out of the walker and given context.

Auto Trait Implementations

impl<G, W> Send for Take<G, W> where
    G: Send,
    W: Send

impl<G, W> Sync for Take<G, W> where
    G: Sync,
    W: Sync