pub struct WireInfo {
pub from_node: String,
pub to_node: String,
pub length: i32,
pub from_pos: (i32, i32),
pub to_pos: (i32, i32),
}Expand description
Information about a wire segment in the clock tree.
Fields§
§from_node: StringName of the source (parent) node
to_node: StringName of the destination (child) node
length: i32Wire length
from_pos: (i32, i32)Source node position as (x, y) coordinates
to_pos: (i32, i32)Destination node position as (x, y) coordinates
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WireInfo
impl RefUnwindSafe for WireInfo
impl Send for WireInfo
impl Sync for WireInfo
impl Unpin for WireInfo
impl UnsafeUnpin for WireInfo
impl UnwindSafe for WireInfo
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