Struct rsonpath::automaton::StateTable
source · pub struct StateTable<'q> { /* private fields */ }
Expand description
Implementations§
source§impl<'q> StateTable<'q>
impl<'q> StateTable<'q>
sourcepub fn fallback_state(&self) -> State
pub fn fallback_state(&self) -> State
Returns the state to which a fallback transition leads.
A fallback transition is the catch-all transition triggered if none of the transitions were triggered.
sourcepub fn array_transitions(&self) -> &[ArrayTransition]
pub fn array_transitions(&self) -> &[ArrayTransition]
Returns the collection of labelled array transitions from this state.
A transition is triggered if the ArrayTransition
is matched and leads
to the contained State
.
sourcepub fn member_transitions(&self) -> &[MemberTransition<'q>]
pub fn member_transitions(&self) -> &[MemberTransition<'q>]
Returns the collection of labelled member transitions from this state.
A transition is triggered if the MemberTransition
is matched and leads
to the contained State
.
Trait Implementations§
source§impl<'q> Debug for StateTable<'q>
impl<'q> Debug for StateTable<'q>
source§impl<'q> Default for StateTable<'q>
impl<'q> Default for StateTable<'q>
source§impl<'q> PartialEq for StateTable<'q>
impl<'q> PartialEq for StateTable<'q>
impl<'q> Eq for StateTable<'q>
Auto Trait Implementations§
impl<'q> Freeze for StateTable<'q>
impl<'q> RefUnwindSafe for StateTable<'q>
impl<'q> Send for StateTable<'q>
impl<'q> Sync for StateTable<'q>
impl<'q> Unpin for StateTable<'q>
impl<'q> UnwindSafe for StateTable<'q>
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