pub struct TreeNode {
pub name: String,
pub position: Point<i32, i32>,
pub left: Option<NodeIdx>,
pub right: Option<NodeIdx>,
pub parent: Option<NodeIdx>,
pub wire_length: i32,
pub delay: f64,
pub capacitance: f64,
pub need_elongation: bool,
}Expand description
A node in the clock tree, stored in a Tree arena.
Fields§
§name: StringThe name of this node (e.g. “s0”, “n1”)
position: Point<i32, i32>The embedded position of this node in the layout
left: Option<NodeIdx>Index of the left child node, if any
right: Option<NodeIdx>Index of the right child node, if any
parent: Option<NodeIdx>Index of the parent node, if any
wire_length: i32Wire segment length from this node to its parent
delay: f64Signal delay at this node
capacitance: f64Load capacitance at this node
need_elongation: boolWhether this node’s wire needs elongation to satisfy timing
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TreeNode
impl RefUnwindSafe for TreeNode
impl Send for TreeNode
impl Sync for TreeNode
impl Unpin for TreeNode
impl UnsafeUnpin for TreeNode
impl UnwindSafe for TreeNode
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