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