pub struct NodeBox {
pub w: f64,
pub h: f64,
pub lines: Vec<String>,
}Expand description
A node box’s size and its label wrapped to fit.
Fields§
§w: f64§h: f64§lines: Vec<String>Trait Implementations§
impl StructuralPartialEq for NodeBox
Auto Trait Implementations§
impl Forget for NodeBox
impl Freeze for NodeBox
impl Move for NodeBox
impl RefUnwindSafe for NodeBox
impl Send for NodeBox
impl Sync for NodeBox
impl Unpin for NodeBox
impl UnsafeUnpin for NodeBox
impl UnwindSafe for NodeBox
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