pub struct XYcoordinate {
pub x: RW<u8>,
pub y: RW<u8>,
}Expand description
X and Y positions for e.g. sprites
Fields§
§x: RW<u8>X position
y: RW<u8>Y position
Auto Trait Implementations§
impl !Freeze for XYcoordinate
impl !RefUnwindSafe for XYcoordinate
impl Send for XYcoordinate
impl !Sync for XYcoordinate
impl Unpin for XYcoordinate
impl UnwindSafe for XYcoordinate
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