[−][src]Struct dep_graph::Resolver
Dependency graph resolver
Implementations
impl<N: Node> Resolver<N>
[src]
pub fn new(nodes: &[N]) -> Resolver<N>
[src]
pub fn for_each<F>(&self, func: F) -> Result<(), Error> where
F: FnMut(&N::Inner),
[src]
F: FnMut(&N::Inner),
Sequential iteration over the list of dependencies, in correct order.
pub fn par_for_each<F>(&self, func: &'static F) -> Result<(), Error> where
F: Fn(&N::Inner) + Send + Sync + 'static,
[src]
F: Fn(&N::Inner) + Send + Sync + 'static,
Parallel iteration over the list of dependencies, in correct order.
Trait Implementations
impl<N: Clone + Node> Clone for Resolver<N> where
N::Inner: Clone,
N::Inner: Clone,
N::Inner: Clone,
[src]
N::Inner: Clone,
N::Inner: Clone,
N::Inner: Clone,
impl<N: Debug + Node> Debug for Resolver<N> where
N::Inner: Debug,
N::Inner: Debug,
N::Inner: Debug,
[src]
N::Inner: Debug,
N::Inner: Debug,
N::Inner: Debug,
Auto Trait Implementations
impl<N> RefUnwindSafe for Resolver<N> where
<N as Node>::Inner: RefUnwindSafe,
<N as Node>::Inner: RefUnwindSafe,
impl<N> Send for Resolver<N> where
<N as Node>::Inner: Send + Sync,
<N as Node>::Inner: Send + Sync,
impl<N> Sync for Resolver<N> where
<N as Node>::Inner: Send + Sync,
<N as Node>::Inner: Send + Sync,
impl<N> Unpin for Resolver<N> where
<N as Node>::Inner: Unpin,
<N as Node>::Inner: Unpin,
impl<N> UnwindSafe for Resolver<N> where
<N as Node>::Inner: UnwindSafe,
<N as Node>::Inner: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,