pub struct Bounds<T = i64> {
pub min: Point2d<T>,
pub max: Point2d<T>,
}
Expand description
A rectangle that includes the minimum and maximum values
Fields§
§min: Point2d<T>
The corner closest to the origin.
max: Point2d<T>
The corner furthest away from the origin.
Implementations§
Source§impl<T: Copy + PartialEq + PartialOrd + SampleUniform> Bounds<T>
impl<T: Copy + PartialEq + PartialOrd + SampleUniform> Bounds<T>
Trait Implementations§
Source§impl<T: Ord> Ord for Bounds<T>
impl<T: Ord> Ord for Bounds<T>
Source§impl<T: PartialOrd> PartialOrd for Bounds<T>
impl<T: PartialOrd> PartialOrd for Bounds<T>
impl<T: Copy> Copy for Bounds<T>
impl<T: Eq> Eq for Bounds<T>
impl<T> StructuralPartialEq for Bounds<T>
Auto Trait Implementations§
impl<T> Freeze for Bounds<T>where
T: Freeze,
impl<T> RefUnwindSafe for Bounds<T>where
T: RefUnwindSafe,
impl<T> Send for Bounds<T>where
T: Send,
impl<T> Sync for Bounds<T>where
T: Sync,
impl<T> Unpin for Bounds<T>where
T: Unpin,
impl<T> UnwindSafe for Bounds<T>where
T: UnwindSafe,
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