pub struct RoutingNode {
pub id: String,
pub node_type: NodeType,
pub pt: Point<i32, i32>,
pub children: Vec<usize>,
pub parent: Option<usize>,
pub capacitance: f64,
pub delay: f64,
pub path_length: i32,
}Expand description
A node in the routing tree.
Fields§
§id: StringUnique identifier for this node
node_type: NodeTypeType of this node (Source, Steiner, or Terminal)
pt: Point<i32, i32>Position of this node in the layout
children: Vec<usize>Indices of child nodes in the tree
parent: Option<usize>Index of the parent node, if any
capacitance: f64Load capacitance at this node
delay: f64Signal delay at this node
path_length: i32Path length from source to this node
Implementations§
Source§impl RoutingNode
impl RoutingNode
Trait Implementations§
Source§impl Clone for RoutingNode
impl Clone for RoutingNode
Source§fn clone(&self) -> RoutingNode
fn clone(&self) -> RoutingNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RoutingNode
impl RefUnwindSafe for RoutingNode
impl Send for RoutingNode
impl Sync for RoutingNode
impl Unpin for RoutingNode
impl UnsafeUnpin for RoutingNode
impl UnwindSafe for RoutingNode
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