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§
impl Eq for RuleTag
impl StructuralPartialEq for RuleTag
Auto Trait Implementations§
impl Freeze for RuleTag
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