pub struct UnknownDictionary { /* private fields */ }Expand description
미등록어 사전
카테고리별 미등록어 정의를 저장합니다.
Implementations§
Source§impl UnknownDictionary
impl UnknownDictionary
Sourcepub fn korean_default() -> Self
pub fn korean_default() -> Self
한국어 기본 미등록어 사전 생성
Sourcepub fn add_entry(&mut self, def: UnknownDef)
pub fn add_entry(&mut self, def: UnknownDef)
미등록어 정의 추가
Sourcepub fn get_entries(&self, category_id: CategoryId) -> &[UnknownDef]
pub fn get_entries(&self, category_id: CategoryId) -> &[UnknownDef]
카테고리별 미등록어 정의 조회
Sourcepub fn from_unk_def<R: BufRead>(
reader: R,
category_map: &CharCategoryMap,
) -> Result<Self>
pub fn from_unk_def<R: BufRead>( reader: R, category_map: &CharCategoryMap, ) -> Result<Self>
Trait Implementations§
Source§impl Clone for UnknownDictionary
impl Clone for UnknownDictionary
Source§fn clone(&self) -> UnknownDictionary
fn clone(&self) -> UnknownDictionary
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 UnknownDictionary
impl Debug for UnknownDictionary
Source§impl Default for UnknownDictionary
impl Default for UnknownDictionary
Source§fn default() -> UnknownDictionary
fn default() -> UnknownDictionary
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UnknownDictionary
impl RefUnwindSafe for UnknownDictionary
impl Send for UnknownDictionary
impl Sync for UnknownDictionary
impl Unpin for UnknownDictionary
impl UnsafeUnpin for UnknownDictionary
impl UnwindSafe for UnknownDictionary
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