pub struct TileInstance {
pub id: usize,
pub location: Vec2<usize>,
}
Fields§
§id: usize
§location: Vec2<usize>
Implementations§
Trait Implementations§
Source§impl Clone for TileInstance
impl Clone for TileInstance
Source§fn clone(&self) -> TileInstance
fn clone(&self) -> TileInstance
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 TileInstance
impl Debug for TileInstance
Source§impl PartialEq for TileInstance
impl PartialEq for TileInstance
impl Copy for TileInstance
impl Eq for TileInstance
impl StructuralPartialEq for TileInstance
Auto Trait Implementations§
impl Freeze for TileInstance
impl RefUnwindSafe for TileInstance
impl Send for TileInstance
impl Sync for TileInstance
impl Unpin for TileInstance
impl UnwindSafe for TileInstance
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