[−][src]Enum pinyin::Style
👎 Deprecated:
请使用 Pinyin
的方法代替
拼音风格
Variants
👎 Deprecated:
请使用 Pinyin
的方法代替
普通风格,不带声调(默认风格)。如: pin yin
👎 Deprecated:
请使用 Pinyin
的方法代替
声调风格1,拼音声调在韵母第一个字母上。如: pīn yīn
👎 Deprecated:
请使用 Pinyin
的方法代替
声调风格2,即拼音声调在各个拼音之后,用数字 [0-4] 进行表示。如: pi1n yi1n
👎 Deprecated:
请使用 Pinyin
的方法代替
声母风格,只返回各个拼音的声母部分。如: 中国 的拼音 zh g
👎 Deprecated:
请使用 Pinyin
的方法代替
首字母风格,只返回拼音的首字母部分。如: p y
👎 Deprecated:
请使用 Pinyin
的方法代替
韵母风格1,只返回各个拼音的韵母部分,不带声调。如: ong uo
👎 Deprecated:
请使用 Pinyin
的方法代替
韵母风格2,带声调,声调在韵母第一个字母上。如: ōng uó
👎 Deprecated:
请使用 Pinyin
的方法代替
韵母风格2,带声调,声调在各个拼音之后,用数字 [0-4] 进行表示。如: o1ng uo2
Trait Implementations
impl Debug for Style
[src]
impl Eq for Style
[src]
impl Hash for Style
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Style> for Style
[src]
impl StructuralEq for Style
[src]
impl StructuralPartialEq for Style
[src]
Auto Trait Implementations
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnwindSafe for Style
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,