pub struct MdiTextAnnotation {
pub kind: &'static str,
pub text: String,
pub anchor: MdiTextRange,
pub span: Option<SourceSpan>,
pub source_map: MdiAnnotationSourceMap,
}Fields§
§kind: &'static str§text: String§anchor: MdiTextRange§span: Option<SourceSpan>§source_map: MdiAnnotationSourceMapTrait Implementations§
Source§impl Clone for MdiTextAnnotation
impl Clone for MdiTextAnnotation
Source§fn clone(&self) -> MdiTextAnnotation
fn clone(&self) -> MdiTextAnnotation
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 MdiTextAnnotation
impl Debug for MdiTextAnnotation
impl Eq for MdiTextAnnotation
Source§impl PartialEq for MdiTextAnnotation
impl PartialEq for MdiTextAnnotation
Source§impl Serialize for MdiTextAnnotation
impl Serialize for MdiTextAnnotation
impl StructuralPartialEq for MdiTextAnnotation
Auto Trait Implementations§
impl Freeze for MdiTextAnnotation
impl RefUnwindSafe for MdiTextAnnotation
impl Send for MdiTextAnnotation
impl Sync for MdiTextAnnotation
impl Unpin for MdiTextAnnotation
impl UnsafeUnpin for MdiTextAnnotation
impl UnwindSafe for MdiTextAnnotation
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.