Struct OptionStrategy
struct OptionStrategy<T>(_)
where
T: Strategy
Strategy which generates Option values whose inner Some values are
generated by another strategy.
Constructed by other functions in this module.
Implementations
impl<T> Any for OptionStrategy<T>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for OptionStrategy<T>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for OptionStrategy<T>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> Clone for OptionStrategy<T>
fn clone(self: &Self) -> OptionStrategy<T>
impl<T> CloneToUninit for OptionStrategy<T>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> Freeze for OptionStrategy<T>
impl<T> From for OptionStrategy<T>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> RefUnwindSafe for OptionStrategy<T>
impl<T> Send for OptionStrategy<T>
impl<T> Strategy for OptionStrategy<T>
fn new_tree(self: &Self, runner: &mut TestRunner) -> NewTree<Self>
impl<T> Sync for OptionStrategy<T>
impl<T> ToOwned for OptionStrategy<T>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T> Unpin for OptionStrategy<T>
impl<T> UnwindSafe for OptionStrategy<T>
impl<T, U> Into for OptionStrategy<T>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for OptionStrategy<T>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for OptionStrategy<T>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T: Strategy + fmt::Debug> Debug for OptionStrategy<T>
fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result
impl<V, T> VZip for OptionStrategy<T>
fn vzip(self: Self) -> V