pub enum StaggerIndex {
Odd,
Even,
}
Expand description
Applies only to staggered or hexagonal maps
Variants§
Trait Implementations§
Source§impl Clone for StaggerIndex
impl Clone for StaggerIndex
Source§fn clone(&self) -> StaggerIndex
fn clone(&self) -> StaggerIndex
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 StaggerIndex
impl Debug for StaggerIndex
Source§impl<'de> Deserialize<'de> for StaggerIndex
impl<'de> Deserialize<'de> for StaggerIndex
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StaggerIndex
impl PartialEq for StaggerIndex
impl StructuralPartialEq for StaggerIndex
Auto Trait Implementations§
impl Freeze for StaggerIndex
impl RefUnwindSafe for StaggerIndex
impl Send for StaggerIndex
impl Sync for StaggerIndex
impl Unpin for StaggerIndex
impl UnwindSafe for StaggerIndex
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