struct Bbox {
pub bbox: [u16; 4],
}
Expand description
A bounding box
The first two values represent the x0 and y0 coordinates, respectively. The last two values represent the x1 and y1 coordinates, respectively. x0, y0 — the top-left corner of the bounding box, x1, y1 — the bottom-right corner of the bounding box.
Fields§
§bbox: [u16; 4]
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Bbox
impl RefUnwindSafe for Bbox
impl Send for Bbox
impl Sync for Bbox
impl Unpin 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