Struct boreal_parser::rule::RuleTag
source · pub struct RuleTag {
pub tag: String,
pub span: Range<usize>,
}Expand description
Tag for a rule.
Fields§
§tag: StringThe tag name.
span: Range<usize>Span covering the tag.
Trait Implementations§
source§impl PartialEq for RuleTag
impl PartialEq for RuleTag
impl Eq for RuleTag
impl StructuralPartialEq for RuleTag
Auto Trait Implementations§
impl RefUnwindSafe for RuleTag
impl Send for RuleTag
impl Sync for RuleTag
impl Unpin for RuleTag
impl UnwindSafe for RuleTag
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