pub struct TileVec3 {
pub x: i32,
pub y: i32,
pub z: i32,
}
Struct used to specify tile positions.
Function to generate a TileVec3 from 3 i32’s
Function to generate a TileVec3 from a Vec
This function panics if the vector contains less then 3 elements
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.