pub enum MorphOption {
ByObject,
ByWord,
ByChar,
}Expand description
Morph 选项(option 属性)。
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for MorphOption
impl Clone for MorphOption
Source§fn clone(&self) -> MorphOption
fn clone(&self) -> MorphOption
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 moreSource§impl Debug for MorphOption
impl Debug for MorphOption
Source§impl Default for MorphOption
impl Default for MorphOption
Source§fn default() -> MorphOption
fn default() -> MorphOption
Returns the “default value” for a type. Read more
impl Eq for MorphOption
Source§impl PartialEq for MorphOption
impl PartialEq for MorphOption
Source§fn eq(&self, other: &MorphOption) -> bool
fn eq(&self, other: &MorphOption) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MorphOption
Auto Trait Implementations§
impl Freeze for MorphOption
impl RefUnwindSafe for MorphOption
impl Send for MorphOption
impl Sync for MorphOption
impl Unpin for MorphOption
impl UnsafeUnpin for MorphOption
impl UnwindSafe for MorphOption
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.