pub struct EqualTransducer<T>(/* private fields */);
Implementations§
Source§impl<T> EqualTransducer<T>
impl<T> EqualTransducer<T>
Trait Implementations§
Source§impl<T: Clone> Clone for EqualTransducer<T>
impl<T: Clone> Clone for EqualTransducer<T>
Source§fn clone(&self) -> EqualTransducer<T>
fn clone(&self) -> EqualTransducer<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Debug> Debug for EqualTransducer<T>
impl<T: Debug> Debug for EqualTransducer<T>
Source§impl<T> Default for EqualTransducer<T>
impl<T> Default for EqualTransducer<T>
Source§impl<T> Transducer for EqualTransducer<T>where
T: PartialEq,
impl<T> Transducer for EqualTransducer<T>where
T: PartialEq,
type Input = (T, T)
type Output = ()
type State = ()
fn start(&self) -> Self::State
fn relation( &self, _state: &Self::State, input: &Self::Input, ) -> Option<(Self::State, Self::Output)>
fn accept(&self, _state: &Self::State) -> bool
fn stepout(&mut self)
fn dp<M>(self, init: M::T) -> InitTransducerDp<M, Self>
fn intersection<U>(self, other: U) -> IntersectionTransducer<(Self, U)>
fn product<U>(self, other: U) -> ProductTransducer<(Self, U)>where
Self: Sized,
U: Transducer,
fn chain<U>(self, other: U) -> ChainTransducer<(Self, U)>
fn with_input(
self,
) -> IntersectionTransducer<(Self, IdentityTransducer<Self::Input>)>where
Self: Sized,
fn map<U, F>( self, f: F, ) -> ChainTransducer<(Self, MapTransducer<Self::Output, U, F>)>
fn filter_map<U, F>( self, f: F, ) -> ChainTransducer<(Self, FilterMapTransducer<Self::Output, U, F>)>
Auto Trait Implementations§
impl<T> Freeze for EqualTransducer<T>
impl<T> RefUnwindSafe for EqualTransducer<T>
impl<T> Send for EqualTransducer<T>
impl<T> Sync for EqualTransducer<T>
impl<T> Unpin for EqualTransducer<T>
impl<T> UnwindSafe for EqualTransducer<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more