pub enum DiagramWarning {
CycleDetected {
nodes: Vec<String>,
},
LabelDropped {
marker: String,
edge_from: String,
edge_to: String,
label: String,
},
}Expand description
Structured warning emitted during layout or rendering
Variants§
CycleDetected
A cycle was detected involving the listed nodes
LabelDropped
An edge label was too long to render inline and was moved to a legend
Trait Implementations§
Source§impl Clone for DiagramWarning
impl Clone for DiagramWarning
Source§fn clone(&self) -> DiagramWarning
fn clone(&self) -> DiagramWarning
Returns a duplicate of the value. Read more
1.0.0 · 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 DiagramWarning
impl Debug for DiagramWarning
Source§impl Display for DiagramWarning
impl Display for DiagramWarning
Source§impl PartialEq for DiagramWarning
impl PartialEq for DiagramWarning
impl Eq for DiagramWarning
impl StructuralPartialEq for DiagramWarning
Auto Trait Implementations§
impl Freeze for DiagramWarning
impl RefUnwindSafe for DiagramWarning
impl Send for DiagramWarning
impl Sync for DiagramWarning
impl Unpin for DiagramWarning
impl UnwindSafe for DiagramWarning
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