pub struct Conversion {
pub segments: Vec<Segment>,
pub chinese_complete: bool,
}Expand description
混合转换及中文歧义证据。中文路径完整时,调用方必须把中文留在混合候选之前。
Fields§
§segments: Vec<Segment>§chinese_complete: boolTrait Implementations§
Source§impl Clone for Conversion
impl Clone for Conversion
Source§impl Debug for Conversion
impl Debug for Conversion
impl Eq for Conversion
Source§impl PartialEq for Conversion
impl PartialEq for Conversion
impl StructuralPartialEq for Conversion
Auto Trait Implementations§
impl Freeze for Conversion
impl RefUnwindSafe for Conversion
impl Send for Conversion
impl Sync for Conversion
impl Unpin for Conversion
impl UnsafeUnpin for Conversion
impl UnwindSafe for Conversion
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.