pub struct HintMatch {
action: HintAction,
bounds: Match,
hyperlink: Option<Hyperlink>,
}
Expand description
Hint match which was selected by the user.
Fields§
§action: HintAction
Action for handling the text.
bounds: Match
Terminal range matching the hint.
hyperlink: Option<Hyperlink>
Implementations§
Trait Implementations§
source§impl PartialEq<HintMatch> for HintMatch
impl PartialEq<HintMatch> for HintMatch
impl Eq for HintMatch
impl StructuralEq for HintMatch
impl StructuralPartialEq for HintMatch
Auto Trait Implementations§
impl RefUnwindSafe for HintMatch
impl Send for HintMatch
impl Sync for HintMatch
impl Unpin for HintMatch
impl UnwindSafe for HintMatch
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.