Enum cmudict_fast::Symbol[][src]

pub enum Symbol {
    AA(Stress),
    AE(Stress),
    AH(Stress),
    AO(Stress),
    AW(Stress),
    AY(Stress),
    B,
    CH,
    D,
    DH,
    EH(Stress),
    ER(Stress),
    EY(Stress),
    F,
    G,
    HH,
    IH(Stress),
    IY(Stress),
    JH,
    K,
    L,
    M,
    N,
    NG,
    OW(Stress),
    OY(Stress),
    P,
    R,
    S,
    SH,
    T,
    TH,
    UH(Stress),
    UW(Stress),
    V,
    W,
    Y,
    Z,
    ZH,
}

Represents a single sound

Variants

AA(Stress)
AE(Stress)
AH(Stress)
AO(Stress)
AW(Stress)
AY(Stress)
B
CH
D
DH
EH(Stress)
ER(Stress)
EY(Stress)
F
G
HH
IH(Stress)
IY(Stress)
JH
K
L
M
N
NG
OW(Stress)
OY(Stress)
P
R
S
SH
T
TH
UH(Stress)
UW(Stress)
V
W
Y
Z
ZH

Implementations

impl Symbol[src]

pub fn is_primary(&self) -> bool[src]

Returns true if the symbol has primary stress

pub fn is_secondary(&self) -> bool[src]

Returns true if the symbol has secondary stress

pub fn is_unstressed(&self) -> bool[src]

Returns true if the symbol has no stress

pub fn is_syllable(&self) -> bool[src]

Returns true if the symbol is stressed in some way

Trait Implementations

impl Clone for Symbol[src]

impl Debug for Symbol[src]

impl Display for Symbol[src]

impl FromStr for Symbol[src]

type Err = ParseError

The associated error which can be returned from parsing.

impl PartialEq<Symbol> for Symbol[src]

impl StructuralPartialEq for Symbol[src]

Auto Trait Implementations

impl RefUnwindSafe for Symbol

impl Send for Symbol

impl Sync for Symbol

impl Unpin for Symbol

impl UnwindSafe for Symbol

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