pub enum MdiSourceSpanTextMatch {
BlockText {
block_index: u32,
range: MdiTextRange,
relation: MdiSourceSpanRelation,
},
Annotation {
block_index: u32,
annotation_index: u32,
range: MdiTextRange,
relation: MdiSourceSpanRelation,
},
}Expand description
A maximal adjacent canonical range in either block text or one annotation.
Variants§
Trait Implementations§
Source§impl Clone for MdiSourceSpanTextMatch
impl Clone for MdiSourceSpanTextMatch
Source§fn clone(&self) -> MdiSourceSpanTextMatch
fn clone(&self) -> MdiSourceSpanTextMatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MdiSourceSpanTextMatch
impl Debug for MdiSourceSpanTextMatch
impl Eq for MdiSourceSpanTextMatch
Source§impl PartialEq for MdiSourceSpanTextMatch
impl PartialEq for MdiSourceSpanTextMatch
Source§impl Serialize for MdiSourceSpanTextMatch
impl Serialize for MdiSourceSpanTextMatch
impl StructuralPartialEq for MdiSourceSpanTextMatch
Auto Trait Implementations§
impl Freeze for MdiSourceSpanTextMatch
impl RefUnwindSafe for MdiSourceSpanTextMatch
impl Send for MdiSourceSpanTextMatch
impl Sync for MdiSourceSpanTextMatch
impl Unpin for MdiSourceSpanTextMatch
impl UnsafeUnpin for MdiSourceSpanTextMatch
impl UnwindSafe for MdiSourceSpanTextMatch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.