pub struct Mapped<A, F> {
pub inner: A,
pub map: F,
}Expand description
Symbol-renaming view of an automaton.
Mapped is useful when an automaton should be queried under a different
external signature. The mapping is applied to every input symbol before the
wrapped automaton is queried. States are unchanged.
Fields§
§inner: AWrapped automaton.
map: FFunction from external symbol IDs to the wrapped automaton’s symbol IDs.
Implementations§
Trait Implementations§
Source§impl<A, F> BottomUpTa for Mapped<A, F>
impl<A, F> BottomUpTa for Mapped<A, F>
impl<A: Copy, F: Copy> Copy for Mapped<A, F>
Source§impl<A, F> DetBottomUpTa for Mapped<A, F>
impl<A, F> DetBottomUpTa for Mapped<A, F>
impl<A: Eq, F: Eq> Eq for Mapped<A, F>
Source§impl<A, F> IndexedBottomUpTa for Mapped<A, F>
impl<A, F> IndexedBottomUpTa for Mapped<A, F>
Source§impl<A: PartialEq, F: PartialEq> PartialEq for Mapped<A, F>
impl<A: PartialEq, F: PartialEq> PartialEq for Mapped<A, F>
impl<A: PartialEq, F: PartialEq> StructuralPartialEq for Mapped<A, F>
Auto Trait Implementations§
impl<A, F> Freeze for Mapped<A, F>
impl<A, F> RefUnwindSafe for Mapped<A, F>where
A: RefUnwindSafe,
F: RefUnwindSafe,
impl<A, F> Send for Mapped<A, F>
impl<A, F> Sync for Mapped<A, F>
impl<A, F> Unpin for Mapped<A, F>
impl<A, F> UnsafeUnpin for Mapped<A, F>where
A: UnsafeUnpin,
F: UnsafeUnpin,
impl<A, F> UnwindSafe for Mapped<A, F>where
A: UnwindSafe,
F: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.