pub struct PlacedNode {
pub cx: f64,
pub cy: f64,
pub w: f64,
pub h: f64,
pub layer: usize,
pub order: usize,
}Expand description
A placed node: centre, size, layer, and rank in reading order (layer by layer, then along it).
Fields§
§cx: f64§cy: f64§w: f64§h: f64§layer: usize§order: usizeTrait Implementations§
Source§impl Clone for PlacedNode
impl Clone for PlacedNode
Source§impl Debug for PlacedNode
impl Debug for PlacedNode
Source§impl PartialEq for PlacedNode
impl PartialEq for PlacedNode
impl StructuralPartialEq for PlacedNode
Auto Trait Implementations§
impl Forget for PlacedNode
impl Freeze for PlacedNode
impl Move for PlacedNode
impl RefUnwindSafe for PlacedNode
impl Send for PlacedNode
impl Sync for PlacedNode
impl Unpin for PlacedNode
impl UnsafeUnpin for PlacedNode
impl UnwindSafe for PlacedNode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more