pub struct NodeAttributes {
pub label: Option<String>,
pub shape: Option<NodeShape>,
pub fill_color: Option<Color>,
pub stroke_color: Option<Color>,
pub stroke_width: Option<f64>,
pub dash_array: Option<Vec<f64>>,
}Fields§
§label: Option<String>§shape: Option<NodeShape>§fill_color: Option<Color>§stroke_color: Option<Color>§stroke_width: Option<f64>§dash_array: Option<Vec<f64>>Implementations§
Trait Implementations§
Source§impl Clone for NodeAttributes
impl Clone for NodeAttributes
Source§fn clone(&self) -> NodeAttributes
fn clone(&self) -> NodeAttributes
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 NodeAttributes
impl Debug for NodeAttributes
Source§impl PartialEq for NodeAttributes
impl PartialEq for NodeAttributes
impl StructuralPartialEq for NodeAttributes
Auto Trait Implementations§
impl Freeze for NodeAttributes
impl RefUnwindSafe for NodeAttributes
impl Send for NodeAttributes
impl Sync for NodeAttributes
impl Unpin for NodeAttributes
impl UnwindSafe for NodeAttributes
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