pub struct MdiSourceSpanTextResolution {
pub projection_version: &'static str,
pub source_span: SourceSpan,
pub coverage: MdiSourceSpanCoverage,
pub matches: Vec<MdiSourceSpanTextMatch>,
}Expand description
Result of resolving one half-open UTF-8 source span back to canonical text.
Fields§
§projection_version: &'static str§source_span: SourceSpan§coverage: MdiSourceSpanCoverage§matches: Vec<MdiSourceSpanTextMatch>Trait Implementations§
Source§impl Clone for MdiSourceSpanTextResolution
impl Clone for MdiSourceSpanTextResolution
Source§fn clone(&self) -> MdiSourceSpanTextResolution
fn clone(&self) -> MdiSourceSpanTextResolution
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 MdiSourceSpanTextResolution
impl Debug for MdiSourceSpanTextResolution
impl Eq for MdiSourceSpanTextResolution
impl StructuralPartialEq for MdiSourceSpanTextResolution
Auto Trait Implementations§
impl Freeze for MdiSourceSpanTextResolution
impl RefUnwindSafe for MdiSourceSpanTextResolution
impl Send for MdiSourceSpanTextResolution
impl Sync for MdiSourceSpanTextResolution
impl Unpin for MdiSourceSpanTextResolution
impl UnsafeUnpin for MdiSourceSpanTextResolution
impl UnwindSafe for MdiSourceSpanTextResolution
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.