pub struct NodeStyle {
pub radius: f32,
pub max_radius: f32,
pub min_radius: f32,
pub fill_color: Color32,
pub border_width: f32,
pub border_color: Color32,
pub fixed: bool,
pub hidden: bool,
}Expand description
Style attributes for a graph node.
Fields§
§radius: f32§max_radius: f32§min_radius: f32§fill_color: Color32§border_width: f32§border_color: Color32§fixed: boolDisables the node from being draggable.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeStyle
impl RefUnwindSafe for NodeStyle
impl Send for NodeStyle
impl Sync for NodeStyle
impl Unpin for NodeStyle
impl UnwindSafe for NodeStyle
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