Struct pinyin::Args
[−]
[src]
pub struct Args { pub style: Style, pub heteronym: bool, }
参数
Fields
style: Style
拼音风格
heteronym: bool
是否启用多音字模式
Methods
impl Args
[src]
pub fn new() -> Args
[src]
返回一个默认参数
ⓘThis example is not tested
Args { style: Style::Normal, heteronym: false, }
Trait Implementations
impl Debug for Args
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for Args
[src]
fn eq(&self, __arg_0: &Args) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Args) -> bool
[src]
This method tests for !=
.
impl Eq for Args
[src]
impl Hash for Args
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more