Struct FilterMapValueTree

pub struct FilterMapValueTree<V, F, O> { /* private fields */ }

ValueTree corresponding to FilterMap.

Trait Implementations

impl<V: Clone + ValueTree, F: Fn(V::Value) -> Option<O>, O> Clone for FilterMapValueTree<V, F, O>

fn clone(&self) -> Self

impl<V: Debug, F, O> Debug for FilterMapValueTree<V, F, O>

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

impl<V: ValueTree, F: Fn(V::Value) -> Option<O>, O: Debug> ValueTree for FilterMapValueTree<V, F, O>

type Value = O;
fn current(&self) -> O
fn simplify(&mut self) -> bool
fn complicate(&mut self) -> bool

Auto Trait Implementations

impl<V, F, O> !Freeze for FilterMapValueTree<V, F, O>

impl<V, F, O> !RefUnwindSafe for FilterMapValueTree<V, F, O>

impl<V, F, O> !Sync for FilterMapValueTree<V, F, O>

impl<V, F, O> Send for FilterMapValueTree<V, F, O> where V: Send, Cell<Option<O>>: Send, Arc<F>: Send,

impl<V, F, O> Unpin for FilterMapValueTree<V, F, O> where V: Unpin, Cell<Option<O>>: Unpin, Arc<F>: Unpin,

impl<V, F, O> UnsafeUnpin for FilterMapValueTree<V, F, O> where V: UnsafeUnpin, Cell<Option<O>>: UnsafeUnpin, Arc<F>: UnsafeUnpin,

impl<V, F, O> UnwindSafe for FilterMapValueTree<V, F, O> where V: UnwindSafe, Cell<Option<O>>: UnwindSafe, Arc<F>: UnwindSafe,

Blanket Implementations

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for FilterMapValueTree<V, F, O> where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for FilterMapValueTree<V, F, O> where ST: ?Sized, DT: ?Sized,

impl<T> Any for FilterMapValueTree<V, F, O> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for FilterMapValueTree<V, F, O> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for FilterMapValueTree<V, F, O> where T: ?Sized,

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

impl<T> CloneToUninit for FilterMapValueTree<V, F, O> where T: Clone,

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

impl<T> From<T> for FilterMapValueTree<V, F, O>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Read<Exclusive, BecauseExclusive> for FilterMapValueTree<V, F, O> where T: ?Sized,

impl<T> ToOwned for FilterMapValueTree<V, F, O> where T: Clone,

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

impl<T, U> Into<U> for FilterMapValueTree<V, F, O> 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 FilterMapValueTree<V, F, O> where U: Into<T>,

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

impl<T, U> TryInto<U> for FilterMapValueTree<V, F, O> 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 FilterMapValueTree<V, F, O> where V: MultiLane<T>,

fn vzip(self) -> V