pub struct AnalyzedDiagram {
pub source_id: String,
pub index: usize,
pub kind: DocumentDiagramKind,
pub source: SourceDescriptor,
pub start: usize,
pub body_start: usize,
pub body_end: usize,
pub end: usize,
pub text: SharedTextSlice,
pub fence_delimiter: Option<FenceDelimiter>,
pub diagnostics: Vec<AnalysisDiagnostic>,
pub syntax: AnalysisSyntaxFacts,
}Fields§
§source_id: String§index: usize§kind: DocumentDiagramKind§source: SourceDescriptor§start: usize§body_start: usize§body_end: usize§end: usize§text: SharedTextSlice§fence_delimiter: Option<FenceDelimiter>§diagnostics: Vec<AnalysisDiagnostic>§syntax: AnalysisSyntaxFactsImplementations§
Source§impl AnalyzedDiagram
impl AnalyzedDiagram
pub fn from_document_diagram( diagram: &DocumentDiagram, diagnostics: Vec<AnalysisDiagnostic>, syntax: AnalysisSyntaxFacts, ) -> Self
Trait Implementations§
Source§impl Clone for AnalyzedDiagram
impl Clone for AnalyzedDiagram
Source§fn clone(&self) -> AnalyzedDiagram
fn clone(&self) -> AnalyzedDiagram
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 moreAuto Trait Implementations§
impl Freeze for AnalyzedDiagram
impl RefUnwindSafe for AnalyzedDiagram
impl Send for AnalyzedDiagram
impl Sync for AnalyzedDiagram
impl Unpin for AnalyzedDiagram
impl UnsafeUnpin for AnalyzedDiagram
impl UnwindSafe for AnalyzedDiagram
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