pub struct Bounds<P: PointScaler = Centi> {
pub min: Point<P>,
pub max: Point<P>,
}Expand description
Represents an area from one min and one max Point.
Fields§
§min: Point<P>Minimum point of the boundary.
max: Point<P>Maximum point of the boundary.
Implementations§
Trait Implementations§
impl<P: Copy + PointScaler> Copy for Bounds<P>
impl<P: PointScaler> StructuralPartialEq for Bounds<P>
Auto Trait Implementations§
impl<P> Freeze for Bounds<P>
impl<P> RefUnwindSafe for Bounds<P>where
P: RefUnwindSafe,
impl<P> Send for Bounds<P>where
P: Send,
impl<P> Sync for Bounds<P>where
P: Sync,
impl<P> Unpin for Bounds<P>where
P: Unpin,
impl<P> UnwindSafe for Bounds<P>where
P: 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