pub struct AlwaysAcceptingTransducer<A>(PhantomData<fn() -> A>);Tuple Fields§
§0: PhantomData<fn() -> A>Implementations§
Source§impl<A> AlwaysAcceptingTransducer<A>
impl<A> AlwaysAcceptingTransducer<A>
Trait Implementations§
Source§impl<A: Clone> Clone for AlwaysAcceptingTransducer<A>
impl<A: Clone> Clone for AlwaysAcceptingTransducer<A>
Source§impl<A: Debug> Debug for AlwaysAcceptingTransducer<A>
impl<A: Debug> Debug for AlwaysAcceptingTransducer<A>
Source§impl<A> Default for AlwaysAcceptingTransducer<A>
impl<A> Default for AlwaysAcceptingTransducer<A>
Source§impl<A> Transducer for AlwaysAcceptingTransducer<A>
impl<A> Transducer for AlwaysAcceptingTransducer<A>
type Input = A
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) -> MapTransducer<Self, U, F>
fn try_map<U, F>(self, f: F) -> TryMapTransducer<Self, U, F>
fn retain<F>(self, pred: F) -> RetainTransducer<Self, F>
fn with_fold<A, F>(self, init: A, f: F) -> FoldTransducer<Self, A, F>
fn with_try_fold<A, F>(self, init: A, f: F) -> TryFoldTransducer<Self, A, F>
fn accepting<F>(self, pred: F) -> AcceptTransducer<Self, F>
Auto Trait Implementations§
impl<A> Freeze for AlwaysAcceptingTransducer<A>
impl<A> RefUnwindSafe for AlwaysAcceptingTransducer<A>
impl<A> Send for AlwaysAcceptingTransducer<A>
impl<A> Sync for AlwaysAcceptingTransducer<A>
impl<A> Unpin for AlwaysAcceptingTransducer<A>
impl<A> UnsafeUnpin for AlwaysAcceptingTransducer<A>
impl<A> UnwindSafe for AlwaysAcceptingTransducer<A>
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