pub struct Rect<T>where
T: CoordinateType,{
pub min: Coordinate<T>,
pub max: Coordinate<T>,
}
Fields
min: Coordinate<T>
max: Coordinate<T>
Trait Implementations
sourceimpl<T: Clone> Clone for Rect<T>where
T: CoordinateType,
impl<T: Clone> Clone for Rect<T>where
T: CoordinateType,
sourceimpl<T: Debug> Debug for Rect<T>where
T: CoordinateType,
impl<T: Debug> Debug for Rect<T>where
T: CoordinateType,
sourceimpl<T: CoordinateType> From<Rect<T>> for Polygon<T>
impl<T: CoordinateType> From<Rect<T>> for Polygon<T>
sourceimpl<T: PartialEq> PartialEq<Rect<T>> for Rect<T>where
T: CoordinateType,
impl<T: PartialEq> PartialEq<Rect<T>> for Rect<T>where
T: CoordinateType,
impl<T: Copy> Copy for Rect<T>where
T: CoordinateType,
impl<T> StructuralPartialEq for Rect<T>where
T: CoordinateType,
Auto Trait Implementations
impl<T> RefUnwindSafe for Rect<T>where
T: RefUnwindSafe,
impl<T> Send for Rect<T>where
T: Send,
impl<T> Sync for Rect<T>where
T: Sync,
impl<T> Unpin for Rect<T>where
T: Unpin,
impl<T> UnwindSafe for Rect<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more