pub struct BBox {
pub x: f64,
pub y: f64,
pub width: f64,
pub height: f64,
}Expand description
Axis-aligned bounding box.
x and y are the center coordinates (matching dagre’s convention).
Fields§
§x: f64§y: f64§width: f64§height: f64Implementations§
Trait Implementations§
impl Copy for BBox
impl StructuralPartialEq for BBox
Auto Trait Implementations§
impl Freeze for BBox
impl RefUnwindSafe for BBox
impl Send for BBox
impl Sync for BBox
impl Unpin for BBox
impl UnsafeUnpin for BBox
impl UnwindSafe for BBox
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