pub struct MdiTextBlock {
pub index: u32,
pub kind: MdiTextBlockKind,
pub text: String,
pub range: MdiTextRange,
pub span: Option<SourceSpan>,
pub source_map: MdiTextSourceMap,
pub annotations: Vec<MdiTextAnnotation>,
pub node: Value,
}Fields§
§index: u32§kind: MdiTextBlockKind§text: String§range: MdiTextRange§span: Option<SourceSpan>§source_map: MdiTextSourceMap§annotations: Vec<MdiTextAnnotation>§node: ValueTrait Implementations§
Source§impl Clone for MdiTextBlock
impl Clone for MdiTextBlock
Source§fn clone(&self) -> MdiTextBlock
fn clone(&self) -> MdiTextBlock
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 MdiTextBlock
impl Debug for MdiTextBlock
impl Eq for MdiTextBlock
Source§impl PartialEq for MdiTextBlock
impl PartialEq for MdiTextBlock
Source§impl Serialize for MdiTextBlock
impl Serialize for MdiTextBlock
impl StructuralPartialEq for MdiTextBlock
Auto Trait Implementations§
impl Freeze for MdiTextBlock
impl RefUnwindSafe for MdiTextBlock
impl Send for MdiTextBlock
impl Sync for MdiTextBlock
impl Unpin for MdiTextBlock
impl UnsafeUnpin for MdiTextBlock
impl UnwindSafe for MdiTextBlock
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.