pub struct XY(pub usize, pub usize);Expand description
An x/y pair for indexing into an image. Distinct from a row/column pair.
Tuple Fields§
§0: usize§1: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for XY
impl RefUnwindSafe for XY
impl Send for XY
impl Sync for XY
impl Unpin for XY
impl UnwindSafe for XY
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