pub struct DiagramEdge {
pub from: String,
pub to: String,
pub label: String,
}Expand description
Diagram model + Mermaid/SVG rendering live in the engine
(scc_engine::diagram) so every transport renders the same bytes.
This module re-exports the engine implementation; the CLI only parses
args and prints.
One architectural relationship between diagram nodes.
Fields§
§from: String§to: String§label: StringTrait Implementations§
Source§impl Clone for DiagramEdge
impl Clone for DiagramEdge
Source§fn clone(&self) -> DiagramEdge
fn clone(&self) -> DiagramEdge
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 DiagramEdge
impl Debug for DiagramEdge
Source§impl<'de> Deserialize<'de> for DiagramEdge
impl<'de> Deserialize<'de> for DiagramEdge
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DiagramEdge, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DiagramEdge, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for DiagramEdge
impl Serialize for DiagramEdge
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for DiagramEdge
impl RefUnwindSafe for DiagramEdge
impl Send for DiagramEdge
impl Sync for DiagramEdge
impl Unpin for DiagramEdge
impl UnsafeUnpin for DiagramEdge
impl UnwindSafe for DiagramEdge
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