pub struct ResolvedRule {
pub parent: String,
pub parent_is_final: bool,
pub symbol: String,
pub children: Vec<String>,
pub weight: f64,
pub interpretation_terms: Vec<(String, String)>,
}Expand description
One resolved automaton rule suitable for tables and serialization.
Fields§
§parent: StringHuman-readable parent state.
parent_is_final: boolWhether the parent state is accepting.
symbol: StringHuman-readable rule symbol.
children: Vec<String>Human-readable child states in order.
weight: f64Rule weight.
interpretation_terms: Vec<(String, String)>Homomorphic image term for each interpretation.
Trait Implementations§
Source§impl Clone for ResolvedRule
impl Clone for ResolvedRule
Source§fn clone(&self) -> ResolvedRule
fn clone(&self) -> ResolvedRule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResolvedRule
impl Debug for ResolvedRule
Source§impl PartialEq for ResolvedRule
impl PartialEq for ResolvedRule
Source§fn eq(&self, other: &ResolvedRule) -> bool
fn eq(&self, other: &ResolvedRule) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResolvedRule
Auto Trait Implementations§
impl Freeze for ResolvedRule
impl RefUnwindSafe for ResolvedRule
impl Send for ResolvedRule
impl Sync for ResolvedRule
impl Unpin for ResolvedRule
impl UnsafeUnpin for ResolvedRule
impl UnwindSafe for ResolvedRule
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