pub struct PointUsize {
pub x: usize,
pub y: usize,
}
Fields§
§x: usize
§y: usize
Implementations§
Source§impl PointUsize
impl PointUsize
pub const fn new(x: usize, y: usize) -> PointUsize
pub fn min(self, other: PointUsize) -> PointUsize
pub fn max(self, other: PointUsize) -> PointUsize
Trait Implementations§
Source§impl Add<SizeUsize> for PointUsize
impl Add<SizeUsize> for PointUsize
Source§impl Clone for PointUsize
impl Clone for PointUsize
Source§fn clone(&self) -> PointUsize
fn clone(&self) -> PointUsize
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PointUsize
impl Debug for PointUsize
Source§impl Sub for PointUsize
impl Sub for PointUsize
impl Copy for PointUsize
Auto Trait Implementations§
impl Freeze for PointUsize
impl RefUnwindSafe for PointUsize
impl Send for PointUsize
impl Sync for PointUsize
impl Unpin for PointUsize
impl UnwindSafe for PointUsize
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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