[][src]Enum sejong::Byte

#[repr(u8)]pub enum Byte {
    TT,
    YAE,
    YE,
    PP,
    KK,
    SS,
    JJ,
    M,
    YU,
    CH,
    NG,
    D,
    R,
    H,
    O,
    YA,
    EO,
    A,
    I,
    EU,
    U,
    AE,
    E,
    B,
    G,
    N,
    S,
    YEO,
    P,
    J,
    T,
    YO,
    K,
}

This is the intermediate representation of the Buffer input. Its TryFrom implementations also act as input validators. Any input that is successfully converted to Byte is a valid modern Hangul Jamo.

Variants

TT

E

YAE

O

YE

P

PP

Q

KK

R

SS

T

JJ

W

M

a

YU

b

CH

c

NG

d

D

e

R

f

H

g

O

h

YA

i

EO

j

A

k

I

l

EU

m

U

n

AE

o

E

p

B

q

G

r

N

s

S

t

YEO

u

P

v

J

w

T

x

YO

y

K

z

Implementations

impl Byte[src]

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

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

Trait Implementations

impl Clone for Byte[src]

impl Copy for Byte[src]

impl Debug for Byte[src]

impl TryFrom<char> for Byte[src]

type Error = char

The type returned in the event of a conversion error.

impl TryFrom<u8> for Byte[src]

type Error = u8

The type returned in the event of a conversion error.

Auto Trait Implementations

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