[][src]Struct idiom_solitaire::Idiom

pub struct Idiom {
    pub idiom: String,
    pub pinyin: String,
    pub explanation: String,
}

Fields

idiom: Stringpinyin: Stringexplanation: String

Implementations

impl Idiom[src]

pub fn first_char(&self) -> char[src]

pub fn final_char(&self) -> char[src]

pub fn first_sound(&self) -> String[src]

pub fn final_sound(&self) -> String[src]

pub fn first_tone(&self) -> String[src]

pub fn final_tone(&self) -> String[src]

Trait Implementations

impl Clone for Idiom[src]

impl Debug for Idiom[src]

impl<'de> Deserialize<'de> for Idiom[src]

impl Eq for Idiom[src]

impl<'_> From<&'_ str> for Idiom[src]

impl Hash for Idiom[src]

impl PartialEq<Idiom> for Idiom[src]

impl StructuralEq for Idiom[src]

impl StructuralPartialEq for Idiom[src]

Auto Trait Implementations

impl RefUnwindSafe for Idiom

impl Send for Idiom

impl Sync for Idiom

impl Unpin for Idiom

impl UnwindSafe for Idiom

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>,