pub struct BBox {
pub x1: f64,
pub y1: f64,
pub x2: f64,
pub y2: f64,
}Expand description
An axis-aligned box, matching opentype’s BoundingBox field names.
Fields§
§x1: f64Left edge.
y1: f64Bottom edge (Y-up) or top edge (Y-down), matching the path it was measured on.
x2: f64Right edge.
y2: f64Top edge (Y-up) or bottom edge (Y-down), matching the path it was measured on.
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