pub struct TreeNode {
pub name: String,
pub position: Point<i32, i32>,
pub left: Option<Rc<RefCell<TreeNode>>>,
pub right: Option<Rc<RefCell<TreeNode>>>,
pub parent: Option<Rc<RefCell<TreeNode>>>,
pub wire_length: i32,
pub delay: f64,
pub capacitance: f64,
pub need_elongation: bool,
}Expand description
A node in the clock tree.
Fields§
§name: String§position: Point<i32, i32>§left: Option<Rc<RefCell<TreeNode>>>§right: Option<Rc<RefCell<TreeNode>>>§parent: Option<Rc<RefCell<TreeNode>>>§wire_length: i32§delay: f64§capacitance: f64§need_elongation: boolImplementations§
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