pub struct CharCategoryDef {
pub name: String,
pub id: CategoryId,
pub invoke: bool,
pub group: bool,
pub length: usize,
}Expand description
문자 카테고리 정의
char.def의 카테고리 정의를 표현합니다.
Fields§
§name: String카테고리 이름
id: CategoryId카테고리 ID
invoke: boolINVOKE 플래그: 항상 미등록어 후보 생성 여부
group: boolGROUP 플래그: 동일 카테고리 문자 그룹핑 여부
length: usizeLENGTH: 미등록어 후보 최대 길이 (0이면 제한 없음)
Implementations§
Trait Implementations§
Source§impl Clone for CharCategoryDef
impl Clone for CharCategoryDef
Source§fn clone(&self) -> CharCategoryDef
fn clone(&self) -> CharCategoryDef
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 moreAuto Trait Implementations§
impl Freeze for CharCategoryDef
impl RefUnwindSafe for CharCategoryDef
impl Send for CharCategoryDef
impl Sync for CharCategoryDef
impl Unpin for CharCategoryDef
impl UnsafeUnpin for CharCategoryDef
impl UnwindSafe for CharCategoryDef
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,
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