Enum guppy::graph::DependencyDirection
source · [−]pub enum DependencyDirection {
Forward,
Reverse,
}
Expand description
The direction in which to follow dependencies.
Used by the _directed
methods.
Variants
Forward
Dependencies from this package to other packages.
Reverse
Reverse dependencies from other packages to this one.
Implementations
Trait Implementations
sourceimpl Arbitrary for DependencyDirection
impl Arbitrary for DependencyDirection
type Parameters = ()
type Parameters = ()
The type of parameters that arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
. Read more
type Strategy = TupleUnion<((u32, Arc<fn() -> DependencyDirection>), (u32, Arc<fn() -> DependencyDirection>))>
type Strategy = TupleUnion<((u32, Arc<fn() -> DependencyDirection>), (u32, Arc<fn() -> DependencyDirection>))>
sourcefn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
sourceimpl Clone for DependencyDirection
impl Clone for DependencyDirection
sourcefn clone(&self) -> DependencyDirection
fn clone(&self) -> DependencyDirection
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DependencyDirection
impl Debug for DependencyDirection
sourceimpl From<DependencyDirection> for Direction
impl From<DependencyDirection> for Direction
sourcefn from(direction: DependencyDirection) -> Self
fn from(direction: DependencyDirection) -> Self
Converts to this type from the input type.
sourceimpl From<Direction> for DependencyDirection
impl From<Direction> for DependencyDirection
sourceimpl Hash for DependencyDirection
impl Hash for DependencyDirection
impl Copy for DependencyDirection
impl Eq for DependencyDirection
impl StructuralEq for DependencyDirection
impl StructuralPartialEq for DependencyDirection
Auto Trait Implementations
impl RefUnwindSafe for DependencyDirection
impl Send for DependencyDirection
impl Sync for DependencyDirection
impl Unpin for DependencyDirection
impl UnwindSafe for DependencyDirection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more