pub struct AppliedRule {
pub rule: Rule,
pub class: RuleClass,
}Expand description
One rule that fired during derivation.
Fields§
§rule: RuleNamed rule.
class: RuleClassClass — must match canonical_class_for_rule for rule.
Trait Implementations§
Source§impl Clone for AppliedRule
impl Clone for AppliedRule
Source§fn clone(&self) -> AppliedRule
fn clone(&self) -> AppliedRule
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 AppliedRule
impl Debug for AppliedRule
Source§impl<'de> Deserialize<'de> for AppliedRule
impl<'de> Deserialize<'de> for AppliedRule
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 for AppliedRule
impl PartialEq for AppliedRule
Source§fn eq(&self, other: &AppliedRule) -> bool
fn eq(&self, other: &AppliedRule) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AppliedRule
impl Serialize for AppliedRule
impl Copy for AppliedRule
impl StructuralPartialEq for AppliedRule
Auto Trait Implementations§
impl Freeze for AppliedRule
impl RefUnwindSafe for AppliedRule
impl Send for AppliedRule
impl Sync for AppliedRule
impl Unpin for AppliedRule
impl UnsafeUnpin for AppliedRule
impl UnwindSafe for AppliedRule
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