pub struct RectUsize {
pub origin: PointUsize,
pub size: SizeUsize,
}
Fields§
§origin: PointUsize
§size: SizeUsize
Implementations§
Source§impl RectUsize
impl RectUsize
pub const fn new(origin: PointUsize, size: SizeUsize) -> Self
pub const fn min(self) -> PointUsize
pub fn max(self) -> PointUsize
pub fn union(self, other: Self) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RectUsize
impl RefUnwindSafe for RectUsize
impl Send for RectUsize
impl Sync for RectUsize
impl Unpin for RectUsize
impl UnwindSafe for RectUsize
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