Struct pinyin::Args[][src]

pub struct Args {
    pub style: Style,
    pub heteronym: bool,
}

参数

Fields

拼音风格

是否启用多音字模式

Methods

impl Args
[src]

返回一个默认参数

This example is not tested
Args {
   style: Style::Normal,
   heteronym: false,
}

Trait Implementations

impl Debug for Args
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Args
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Args
[src]

impl Hash for Args
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Default for Args
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Args

impl Sync for Args