pub struct Diagram {
pub title: Spanned<String>,
pub members: Vec<DiagramMember>,
pub span: Span,
}Expand description
The root diagram declaration.
Fields§
§title: Spanned<String>Visible diagram title.
members: Vec<DiagramMember>Authored declarations in source order.
span: SpanSpan of the complete declaration.
Trait Implementations§
impl Eq for Diagram
impl StructuralPartialEq for Diagram
Auto Trait Implementations§
impl Freeze for Diagram
impl RefUnwindSafe for Diagram
impl Send for Diagram
impl Sync for Diagram
impl Unpin for Diagram
impl UnsafeUnpin for Diagram
impl UnwindSafe for Diagram
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