pub struct RuleRef {
pub id: String,
pub range: TextRange,
}Expand description
A rule ID as written, with the range it occupies.
Fields§
§id: String§range: TextRangeTrait Implementations§
impl Eq for RuleRef
impl StructuralPartialEq for RuleRef
Auto Trait Implementations§
impl Freeze for RuleRef
impl RefUnwindSafe for RuleRef
impl Send for RuleRef
impl Sync for RuleRef
impl Unpin for RuleRef
impl UnsafeUnpin for RuleRef
impl UnwindSafe for RuleRef
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