pub enum FormationType {
None,
Line,
Column,
Vee,
Diamond,
Circle,
Custom,
}Expand description
Formation type.
Variants§
None
No formation
Line
Line formation
Column
Column formation
Vee
V formation
Diamond
Diamond formation
Circle
Circular formation
Custom
Custom formation
Trait Implementations§
Source§impl Clone for FormationType
impl Clone for FormationType
Source§fn clone(&self) -> FormationType
fn clone(&self) -> FormationType
Returns a duplicate 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 FormationType
impl Debug for FormationType
Source§impl Default for FormationType
impl Default for FormationType
Source§fn default() -> FormationType
fn default() -> FormationType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FormationType
impl<'de> Deserialize<'de> for FormationType
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 Hash for FormationType
impl Hash for FormationType
Source§impl PartialEq for FormationType
impl PartialEq for FormationType
Source§impl Serialize for FormationType
impl Serialize for FormationType
impl Copy for FormationType
impl Eq for FormationType
impl StructuralPartialEq for FormationType
Auto Trait Implementations§
impl Freeze for FormationType
impl RefUnwindSafe for FormationType
impl Send for FormationType
impl Sync for FormationType
impl Unpin for FormationType
impl UnwindSafe for FormationType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.