pub struct IdentityTransducer<I>(/* private fields */);
Implementations§
Source§impl<I> IdentityTransducer<I>
impl<I> IdentityTransducer<I>
Trait Implementations§
Source§impl<I: Clone> Clone for IdentityTransducer<I>
impl<I: Clone> Clone for IdentityTransducer<I>
Source§fn clone(&self) -> IdentityTransducer<I>
fn clone(&self) -> IdentityTransducer<I>
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<I: Debug> Debug for IdentityTransducer<I>
impl<I: Debug> Debug for IdentityTransducer<I>
Source§impl<I> Default for IdentityTransducer<I>
impl<I> Default for IdentityTransducer<I>
Source§impl<I> Transducer for IdentityTransducer<I>where
I: Clone,
impl<I> Transducer for IdentityTransducer<I>where
I: Clone,
type Input = I
type Output = I
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<I> Freeze for IdentityTransducer<I>
impl<I> RefUnwindSafe for IdentityTransducer<I>
impl<I> Send for IdentityTransducer<I>
impl<I> Sync for IdentityTransducer<I>
impl<I> Unpin for IdentityTransducer<I>
impl<I> UnwindSafe for IdentityTransducer<I>
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