pub struct RuleMatch {
pub range: Range<usize>,
pub link: Arc<Hyperlink>,
}
Expand description
Holds a resolved rule match.
Fields§
§range: Range<usize>
Holds the span (measured in bytes) of the matched text
link: Arc<Hyperlink>
Holds the created Hyperlink object that should be associated the cells that correspond to the span.
Trait Implementations§
source§impl PartialEq for RuleMatch
impl PartialEq for RuleMatch
impl StructuralPartialEq for RuleMatch
Auto Trait Implementations§
impl RefUnwindSafe for RuleMatch
impl Send for RuleMatch
impl Sync for RuleMatch
impl Unpin for RuleMatch
impl UnwindSafe for RuleMatch
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