Enum syntect::parsing::ClearAmount
source · pub enum ClearAmount {
TopN(usize),
All,
}
Variants§
Trait Implementations§
source§impl Clone for ClearAmount
impl Clone for ClearAmount
source§fn clone(&self) -> ClearAmount
fn clone(&self) -> ClearAmount
Returns a copy 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 ClearAmount
impl Debug for ClearAmount
source§impl<'de> Deserialize<'de> for ClearAmount
impl<'de> Deserialize<'de> for ClearAmount
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ClearAmount> for ClearAmount
impl PartialEq<ClearAmount> for ClearAmount
source§fn eq(&self, other: &ClearAmount) -> bool
fn eq(&self, other: &ClearAmount) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ClearAmount
impl Serialize for ClearAmount
impl Copy for ClearAmount
impl Eq for ClearAmount
impl StructuralEq for ClearAmount
impl StructuralPartialEq for ClearAmount
Auto Trait Implementations§
impl RefUnwindSafe for ClearAmount
impl Send for ClearAmount
impl Sync for ClearAmount
impl Unpin for ClearAmount
impl UnwindSafe for ClearAmount
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.