pub struct Rect<N: Num + Copy> {
pub left: N,
pub top: N,
pub width: N,
pub height: N,
}
Fields§
§left: N
§top: N
§width: N
§height: N
Implementations§
Auto Trait Implementations§
impl<N> Freeze for Rect<N>where
N: Freeze,
impl<N> RefUnwindSafe for Rect<N>where
N: RefUnwindSafe,
impl<N> Send for Rect<N>where
N: Send,
impl<N> Sync for Rect<N>where
N: Sync,
impl<N> Unpin for Rect<N>where
N: Unpin,
impl<N> UnwindSafe for Rect<N>where
N: 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