Struct UnionValueTree

pub struct UnionValueTree<T: Strategy> { /* private fields */ }

ValueTree corresponding to Union.

Trait Implementations

impl<T: Strategy> Clone for UnionValueTree<T> where T::Tree: Clone,

fn clone(&self) -> Self

impl<T: Strategy> Debug for UnionValueTree<T> where T::Tree: Debug,

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

impl<T: Strategy> ValueTree for UnionValueTree<T>

type Value = <T as Strategy>::Value;
fn current(&self) -> Self::Value
fn simplify(&mut self) -> bool
fn complicate(&mut self) -> bool

Auto Trait Implementations

impl<T> !RefUnwindSafe for UnionValueTree<T>

impl<T> !UnwindSafe for UnionValueTree<T>

impl<T> Freeze for UnionValueTree<T> where Vec<LazyValueTree<T>>: Freeze,

impl<T> Send for UnionValueTree<T> where Vec<LazyValueTree<T>>: Send,

impl<T> Sync for UnionValueTree<T> where Vec<LazyValueTree<T>>: Sync,

impl<T> Unpin for UnionValueTree<T> where Vec<LazyValueTree<T>>: Unpin,

impl<T> UnsafeUnpin for UnionValueTree<T> where Vec<LazyValueTree<T>>: UnsafeUnpin,

Blanket Implementations

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for UnionValueTree<T> where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for UnionValueTree<T> where ST: ?Sized, DT: ?Sized,

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for UnionValueTree<T>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Read<Exclusive, BecauseExclusive> for UnionValueTree<T> where T: ?Sized,

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

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

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

fn into(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<U> for UnionValueTree<T> where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

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

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

impl<V, T> VZip<V> for UnionValueTree<T> where V: MultiLane<T>,

fn vzip(self) -> V