pub struct NodeAttributes {
pub label: Option<String>,
pub color: Option<Color>,
pub style: Option<NodeStyle>,
pub shape: Option<NodeShape>,
}Fields§
§label: Option<String>§color: Option<Color>§style: Option<NodeStyle>§shape: Option<NodeShape>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 Default for NodeAttributes
impl Default for NodeAttributes
Source§impl Display for NodeAttributes
impl Display 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