pub enum WordPattern {
Plain,
ProperNoun,
CamelCase,
HangulAlphaMix,
NumberUnit,
Emoji,
}Expand description
단어 패턴 종류
미등록어의 패턴을 분류합니다.
Variants§
Plain
일반 패턴 (단일 카테고리)
ProperNoun
대문자로 시작하는 영단어 (고유명사 가능성)
CamelCase
CamelCase 패턴 (iPhone, HelloWorld 등)
HangulAlphaMix
한글+영문 혼합 (카카오톡, 네이버맵 등)
NumberUnit
숫자+단위 혼합 (15kg, 3개 등)
Emoji
이모지 포함
Trait Implementations§
Source§impl Clone for WordPattern
impl Clone for WordPattern
Source§fn clone(&self) -> WordPattern
fn clone(&self) -> WordPattern
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WordPattern
impl Debug for WordPattern
Source§impl PartialEq for WordPattern
impl PartialEq for WordPattern
impl Copy for WordPattern
impl Eq for WordPattern
impl StructuralPartialEq for WordPattern
Auto Trait Implementations§
impl Freeze for WordPattern
impl RefUnwindSafe for WordPattern
impl Send for WordPattern
impl Sync for WordPattern
impl Unpin for WordPattern
impl UnsafeUnpin for WordPattern
impl UnwindSafe for WordPattern
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more