[][src]Trait to_kana::HalfWidth

pub trait HalfWidth {
    fn half_width(self) -> Result;
}

Defines a type as being able to convert to half-width katakana.

Example

use to_kana::{ToKana, HalfWidth};

assert_eq!("ワールド", "wa-rudo".kata().half_width().unwrap());

Required methods

fn half_width(self) -> Result

Loading content...

Implementations on Foreign Types

impl<'_> HalfWidth for &'_ str[src]

impl HalfWidth for String[src]

Loading content...

Implementors

impl HalfWidth for Result[src]

Loading content...