pub struct Rule {
pub name: String,
pub generic_args: Vec<Node>,
}
Expand description
A rule reference, linked to a dispatch object for later resolution.
Resolving the rule reference is handled by the validation context.
Fields§
§name: String
§generic_args: Vec<Node>
Trait Implementations§
source§impl PartialEq for Rule
impl PartialEq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnwindSafe for Rule
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