pub struct NodePosition {
pub id: i32,
pub x: f64,
pub y: f64,
}Expand description
A positioned node returned by sugiyama_layout.
Fields§
§id: i32The node ID (same value passed in via node_sizes).
x: f64X coordinate of the node’s top-left corner.
y: f64Y coordinate of the node’s top-left corner.
Trait Implementations§
Source§impl Clone for NodePosition
impl Clone for NodePosition
impl Copy for NodePosition
Source§impl Debug for NodePosition
impl Debug for NodePosition
Source§impl PartialEq for NodePosition
impl PartialEq for NodePosition
impl StructuralPartialEq for NodePosition
Auto Trait Implementations§
impl Freeze for NodePosition
impl RefUnwindSafe for NodePosition
impl Send for NodePosition
impl Sync for NodePosition
impl Unpin for NodePosition
impl UnsafeUnpin for NodePosition
impl UnwindSafe for NodePosition
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