Struct Weighted

#[must_use = "strategies do nothing unless used"]
pub struct Weighted(/* private field */);

The return type from weighted().

Trait Implementations

impl Clone for Weighted

fn clone(&self) -> Self

impl Copy for Weighted

impl Debug for Weighted

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Strategy for Weighted

type Tree = BoolValueTree;
type Value = bool;
fn new_tree(&self, runner: &mut TestRunner) -> NewTree<Self>

Auto Trait Implementations

impl Freeze for Weighted

impl RefUnwindSafe for Weighted

impl Send for Weighted

impl Sync for Weighted

impl Unpin for Weighted

impl UnsafeUnpin for Weighted

impl UnwindSafe for Weighted

Blanket Implementations

impl<T> Any for Weighted where T: 'static + ?Sized,

impl<T> Borrow<T> for Weighted where T: ?Sized,

impl<T> BorrowMut<T> for Weighted where T: ?Sized,

impl<T> CloneToUninit for Weighted where T: Clone,

impl<T> From<T> for Weighted

impl<T> ToOwned for Weighted where T: Clone,

impl<T, U> Into<U> for Weighted where U: From<T>,

impl<T, U> TryFrom<U> for Weighted where U: Into<T>,

impl<T, U> TryInto<U> for Weighted where U: TryFrom<T>,