[][src]Enum ena::enums::YotsubaBoard

pub enum YotsubaBoard {
    None,
    _3,
    a,
    aco,
    adv,
    an,
    asp,
    b,
    bant,
    biz,
    c,
    cgl,
    ck,
    cm,
    co,
    d,
    diy,
    e,
    f,
    fa,
    fit,
    g,
    gd,
    gif,
    h,
    hc,
    his,
    hm,
    hr,
    i,
    ic,
    int,
    jp,
    k,
    lgbt,
    lit,
    m,
    mlp,
    mu,
    n,
    news,
    o,
    out,
    p,
    po,
    pol,
    qa,
    qst,
    r,
    r9k,
    s,
    s4s,
    sci,
    soc,
    sp,
    t,
    tg,
    toy,
    trash,
    trv,
    tv,
    u,
    v,
    vg,
    vip,
    vp,
    vr,
    w,
    wg,
    wsg,
    wsr,
    x,
    y,
}

Variants

None
_3
a
aco
adv
an
asp
b
bant
biz
c
cgl
ck
cm
co
d
diy
e
f
fa
fit
g
gd
gif
h
hc
his
hm
hr
i
ic
int
jp
k
lgbt
lit
m
mlp
mu
n
news
o
out
p
po
pol
qa
qst
r
r9k
s
s4s
sci
soc
sp
t
tg
toy
trash
trv
tv
u
v
vg
vip
vp
vr
w
wg
wsg
wsr
x
y

Trait Implementations

impl Board for YotsubaBoard[src]

impl Clone for YotsubaBoard[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

impl Display for YotsubaBoard[src]

impl Eq for YotsubaBoard[src]

impl Hash for YotsubaBoard[src]

impl IntoEnumIterator for YotsubaBoard[src]

type Iterator = YotsubaBoardEnumIterator

Type of the iterator over the variants.

impl PartialEq<YotsubaBoard> for YotsubaBoard[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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,