Struct guppy::graph::Prop010Resolver
source · [−]pub struct Prop010Resolver { /* private fields */ }
Expand description
A randomly generated package resolver.
Created by PackageGraph::prop010_resolver_strategy
. Requires the proptest1
feature to be
enabled.
Implementations
sourceimpl Prop010Resolver
impl Prop010Resolver
sourcepub fn check_depends_on(&mut self, check: bool)
This is supported on crate feature proptest1
only.
pub fn check_depends_on(&mut self, check: bool)
This is supported on crate feature
proptest1
only.If called with true, this resolver will then verify that any links passed in are in the correct direction.
sourcepub fn accept_link(&self, link: PackageLink<'_>) -> bool
This is supported on crate feature proptest1
only.
pub fn accept_link(&self, link: PackageLink<'_>) -> bool
This is supported on crate feature
proptest1
only.Returns true if the given link is accepted by this resolver.
Trait Implementations
sourceimpl Clone for Prop010Resolver
impl Clone for Prop010Resolver
sourcefn clone(&self) -> Prop010Resolver
fn clone(&self) -> Prop010Resolver
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 Prop010Resolver
impl Debug for Prop010Resolver
sourceimpl<'g> PackageResolver<'g> for Prop010Resolver
impl<'g> PackageResolver<'g> for Prop010Resolver
sourcefn accept(&mut self, query: &PackageQuery<'g>, link: PackageLink<'g>) -> bool
fn accept(&mut self, query: &PackageQuery<'g>, link: PackageLink<'g>) -> bool
Returns true if this link should be followed during a resolve operation. Read more
Auto Trait Implementations
impl RefUnwindSafe for Prop010Resolver
impl Send for Prop010Resolver
impl Sync for Prop010Resolver
impl Unpin for Prop010Resolver
impl UnwindSafe for Prop010Resolver
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
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