pub struct GraphNode {
pub id: String,
pub label: String,
pub fill: Color,
pub stroke: Color,
pub pos: Pos,
}Expand description
One laid-out node: stable id, label, chip fill + stroke (the kind colour, caller’s choice), and its world-space centre.
Fields§
§id: String§label: String§fill: Color§stroke: Color§pos: PosTrait Implementations§
Auto Trait Implementations§
impl Freeze for GraphNode
impl RefUnwindSafe for GraphNode
impl Send for GraphNode
impl Sync for GraphNode
impl Unpin for GraphNode
impl UnsafeUnpin for GraphNode
impl UnwindSafe for GraphNode
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