pub struct Node { /* private fields */ }Expand description
An individual card within a tier.
Nodes are the primary visual elements of a dendryform diagram. Each node has a colored top-bar, an icon, title, description, and optional technology badges.
Construct via NodeBuilder or deserialize from YAML/JSON.
Implementations§
Source§impl Node
impl Node
Sourcepub fn builder() -> NodeBuilder
pub fn builder() -> NodeBuilder
Creates a new NodeBuilder.
Sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
Returns the description.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Node
impl<'de> Deserialize<'de> for Node
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for Node
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