pub struct DictEntry {
pub surface: String,
pub left_id: u16,
pub right_id: u16,
pub cost: i16,
pub feature: String,
}Expand description
사전 엔트리 (내부 표현)
메모리 효율을 위해 feature는 인덱스로 저장합니다.
Fields§
§surface: String표면형
left_id: u16좌문맥 ID
right_id: u16우문맥 ID
cost: i16비용
feature: String품사 정보 (feature string)
Implementations§
Trait Implementations§
impl Eq for DictEntry
impl StructuralPartialEq for DictEntry
Auto Trait Implementations§
impl Freeze for DictEntry
impl RefUnwindSafe for DictEntry
impl Send for DictEntry
impl Sync for DictEntry
impl Unpin for DictEntry
impl UnsafeUnpin for DictEntry
impl UnwindSafe for DictEntry
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