pub enum WordSegmentKind {
Equal,
Changed,
}Expand description
Whether a word segment is unchanged or changed.
Variants§
Trait Implementations§
Source§impl Clone for WordSegmentKind
impl Clone for WordSegmentKind
Source§fn clone(&self) -> WordSegmentKind
fn clone(&self) -> WordSegmentKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WordSegmentKind
Source§impl Debug for WordSegmentKind
impl Debug for WordSegmentKind
impl Eq for WordSegmentKind
Source§impl PartialEq for WordSegmentKind
impl PartialEq for WordSegmentKind
Source§fn eq(&self, other: &WordSegmentKind) -> bool
fn eq(&self, other: &WordSegmentKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WordSegmentKind
Auto Trait Implementations§
impl Freeze for WordSegmentKind
impl RefUnwindSafe for WordSegmentKind
impl Send for WordSegmentKind
impl Sync for WordSegmentKind
impl Unpin for WordSegmentKind
impl UnsafeUnpin for WordSegmentKind
impl UnwindSafe for WordSegmentKind
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.