Struct grammartec::rule::PlainRule
source · pub struct PlainRule {
pub nonterm: NTermID,
pub children: Vec<RuleChild>,
pub nonterms: Vec<NTermID>,
}
Fields§
§nonterm: NTermID
§children: Vec<RuleChild>
§nonterms: Vec<NTermID>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for PlainRule
impl<'de> Deserialize<'de> for PlainRule
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<PlainRule> for PlainRule
impl PartialEq<PlainRule> for PlainRule
impl StructuralPartialEq for PlainRule
Auto Trait Implementations§
impl RefUnwindSafe for PlainRule
impl Send for PlainRule
impl Sync for PlainRule
impl Unpin for PlainRule
impl UnwindSafe for PlainRule
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