Struct Just

struct Just<T: Clone + fmt::Debug>(3541)

A Strategy which always produces a single value value and never simplifies.

Implementations

impl<T> Any for Just<T>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Just<T>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Just<T>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for Just<T>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> Freeze for Just<T>

impl<T> From for Just<T>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> RefUnwindSafe for Just<T>

impl<T> Send for Just<T>

impl<T> Sync for Just<T>

impl<T> ToOwned for Just<T>

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T> Unpin for Just<T>

impl<T> UnsafeUnpin for Just<T>

impl<T> UnwindSafe for Just<T>

impl<T, U> Into for Just<T>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for Just<T>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Just<T>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl<T: $crate::clone::Clone + Clone + fmt::Debug> Clone for Just<T>

fn clone(self: &Self) -> Just<T>

impl<T: $crate::fmt::Debug + Clone + fmt::Debug> Debug for Just<T>

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

impl<T: $crate::marker::Copy + Clone + fmt::Debug> Copy for Just<T>

impl<T: Clone + fmt::Debug> Strategy for Just<T>

fn new_tree(self: &Self, _: &mut TestRunner) -> NewTree<Self>

impl<T: Clone + fmt::Debug> ValueTree for Just<T>

fn simplify(self: &mut Self) -> bool
fn complicate(self: &mut Self) -> bool
fn current(self: &Self) -> T

impl<V, T> VZip for Just<T>

fn vzip(self: Self) -> V