[−][src]Enum ena::enums::YotsubaBoard
Variants
Trait Implementations
impl Board for YotsubaBoard
[src]
impl Clone for YotsubaBoard
[src]
fn clone(&self) -> YotsubaBoard
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for YotsubaBoard
[src]
impl Debug for YotsubaBoard
[src]
impl<'de> Deserialize<'de> for YotsubaBoard
[src]
Proper deserialize from JSON
Manually override the deserialization to only allow every board except None
and do a proper display for the board: 3
using its
display trait impl rather than using its debug trait impl which shows "_3".
Help taken from this [blog](https://is.gd/Y8tCz3]
and serde/test_annotations.rs
and strings
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl Display for YotsubaBoard
[src]
impl Eq for YotsubaBoard
[src]
impl Hash for YotsubaBoard
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl IntoEnumIterator for YotsubaBoard
[src]
type Iterator = YotsubaBoardEnumIterator
Type of the iterator over the variants.
const VARIANT_COUNT: usize
[src]
fn into_enum_iter() -> Self::Iterator
[src]
impl PartialEq<YotsubaBoard> for YotsubaBoard
[src]
fn eq(&self, other: &YotsubaBoard) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for YotsubaBoard
[src]
Proper Serialization for proper display
Help taken from https://serde.rs/impl-serialize.html
impl StructuralEq for YotsubaBoard
[src]
impl StructuralPartialEq for YotsubaBoard
[src]
Auto Trait Implementations
impl RefUnwindSafe for YotsubaBoard
impl Send for YotsubaBoard
impl Sync for YotsubaBoard
impl Unpin for YotsubaBoard
impl UnwindSafe for YotsubaBoard
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,