Struct gimei::name::Name [−][src]
Fields
first: Item
last: Item
gender: Gender
Methods
impl Name
[src]
impl Name
pub fn from_gender(gender: Gender) -> Name
[src]
pub fn from_gender(gender: Gender) -> Name
pub fn to_kanji(&self) -> String
[src]
pub fn to_kanji(&self) -> String
pub fn to_hiragana(&self) -> String
[src]
pub fn to_hiragana(&self) -> String
pub fn to_katakana(&self) -> String
[src]
pub fn to_katakana(&self) -> String
pub fn is_male(&self) -> bool
[src]
pub fn is_male(&self) -> bool
pub fn is_female(&self) -> bool
[src]
pub fn is_female(&self) -> bool
Trait Implementations
impl Debug for Name
[src]
impl Debug for Name
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for Name
[src]
impl Display for Name