pub struct DrawableNode {
pub name: String,
pub metadata: HashMap<String, Value>,
}Expand description
Drawable node for visualization
Contains node name and optional metadata.
Fields§
§name: StringNode name
metadata: HashMap<String, Value>Optional metadata
Trait Implementations§
Source§impl Clone for DrawableNode
impl Clone for DrawableNode
Source§fn clone(&self) -> DrawableNode
fn clone(&self) -> DrawableNode
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 moreAuto Trait Implementations§
impl Freeze for DrawableNode
impl RefUnwindSafe for DrawableNode
impl Send for DrawableNode
impl Sync for DrawableNode
impl Unpin for DrawableNode
impl UnsafeUnpin for DrawableNode
impl UnwindSafe for DrawableNode
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