[][src]Struct kanaria::string::ConvertParameter

pub struct ConvertParameter {
    pub convert_type: ConvertType,
    pub width_convert_target: ConvertTarget,
}

Fields

convert_type: ConvertType

変換先の種別を保持します。

width_convert_target: ConvertTarget

半角・全角変換の対象を設定します。 大文字・小文字、ひらがな・かたかな変換時は使用されません。

Methods

impl ConvertParameter[src]

pub fn from(
    convert_type: ConvertType,
    width_convert_target: ConvertTarget
) -> Self
[src]

変換時のパラメータを設定します。

Trait Implementations

impl Clone for ConvertParameter[src]

impl Copy for ConvertParameter[src]

impl Debug for ConvertParameter[src]

impl PartialEq<ConvertParameter> for ConvertParameter[src]

impl StructuralPartialEq for ConvertParameter[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.