pub struct Rectangle<T: FloatIsh> {
pub min: Point<T>,
pub size: Vector<T>,
}Fields§
§min: Point<T>§size: Vector<T>Trait Implementations§
Source§impl<T: PartialOrd + FloatIsh> PartialOrd for Rectangle<T>
impl<T: PartialOrd + FloatIsh> PartialOrd for Rectangle<T>
impl<T: Copy + FloatIsh> Copy for Rectangle<T>
impl<T: FloatIsh> StructuralPartialEq for Rectangle<T>
Auto Trait Implementations§
impl<T> Freeze for Rectangle<T>where
T: Freeze,
impl<T> RefUnwindSafe for Rectangle<T>where
T: RefUnwindSafe,
impl<T> Send for Rectangle<T>where
T: Send,
impl<T> Sync for Rectangle<T>where
T: Sync,
impl<T> Unpin for Rectangle<T>where
T: Unpin,
impl<T> UnwindSafe for Rectangle<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