#[non_exhaustive]pub enum DiagramType {
Show 33 variants
Flowchart,
Sequence,
Class,
State,
Er,
Pie,
Gantt,
GitGraph,
Mindmap,
Timeline,
Journey,
XyChart,
QuadrantChart,
Requirement,
C4,
Sankey,
Block,
Packet,
Kanban,
Architecture,
Radar,
Treemap,
Info,
AgentFlow,
UseCase,
Railroad,
TreeView,
Venn,
Cynefin,
Wardley,
Swimlane,
Ishikawa,
EventModeling,
}Expand description
A type of diagram, as Pele names it.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Flowchart
flowchart and graph.
Sequence
sequenceDiagram.
Class
classDiagram.
State
stateDiagram.
Er
erDiagram.
Pie
pie.
Gantt
gantt.
GitGraph
gitGraph.
Mindmap
mindmap.
Timeline
timeline.
Journey
journey.
XyChart
xychart.
QuadrantChart
quadrantChart.
Requirement
requirementDiagram.
C4
C4Context and the other C4 diagrams.
Sankey
sankey.
Block
block.
Packet
packet.
Kanban
kanban.
Architecture
architecture.
Radar
radar-beta.
Treemap
treemap.
Info
info.
AgentFlow
agentflow-beta.
UseCase
usecase-beta.
Railroad
railroad-beta and its dialects.
TreeView
treeView-beta.
Venn
venn-beta.
Cynefin
cynefin-beta.
Wardley
wardley-beta.
Swimlane
swimlane-beta.
Ishikawa
ishikawa.
EventModeling
eventmodeling.
Implementations§
Trait Implementations§
Source§impl Clone for DiagramType
impl Clone for DiagramType
impl Copy for DiagramType
Source§impl Debug for DiagramType
impl Debug for DiagramType
Source§impl Display for DiagramType
impl Display for DiagramType
impl Eq for DiagramType
Source§impl Hash for DiagramType
impl Hash for DiagramType
Source§impl PartialEq for DiagramType
impl PartialEq for DiagramType
impl StructuralPartialEq for DiagramType
Auto Trait Implementations§
impl Forget for DiagramType
impl Freeze for DiagramType
impl RefUnwindSafe for DiagramType
impl Send for DiagramType
impl Sync for DiagramType
impl Unpin for DiagramType
impl UnsafeUnpin for DiagramType
impl UnwindSafe for DiagramType
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