pub struct Rectangle<P> {
pub ll: Point<P>,
pub ur: Point<P>,
}Expand description
A primitive rectangle
Fields§
§ll: Point<P>lower left
ur: Point<P>upper right
Implementations§
Trait Implementations§
impl<P: Copy> Copy for Rectangle<P>
Auto Trait Implementations§
impl<P> Freeze for Rectangle<P>where
P: Freeze,
impl<P> RefUnwindSafe for Rectangle<P>where
P: RefUnwindSafe,
impl<P> Send for Rectangle<P>where
P: Send,
impl<P> Sync for Rectangle<P>where
P: Sync,
impl<P> Unpin for Rectangle<P>where
P: Unpin,
impl<P> UnwindSafe for Rectangle<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