pub struct BBox { /* fields omitted */ }
Expand description
Bounding box with sides directed along the axes
Construct bounding box which includes points p0 and p1
Point with minmum values of x and y coordianetes
Point with minmum values of x and y coordianetes
x coordinate of the point with the minimal value
y coordinate of the point with the minimal value
Width of the bounding box
Hight of the bounding box
Diagonal line from min to max of the bounding box
Determine if the point is inside of the bounding box
Extend bounding box so it would contains provided point
Create bounding box the spans both bbox-es
Find bounding box of the intersection of two bounding boxes
Transform that makes bbox a unit-sized square
This is used by clip|mask|gradient units
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.