Enum trustfall_core::ir::FoldSpecificFieldKind
source · #[non_exhaustive]pub enum FoldSpecificFieldKind {
Count,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Count
Implementations§
source§impl FoldSpecificFieldKind
impl FoldSpecificFieldKind
pub fn field_type(&self) -> &Type
pub fn field_name(&self) -> &str
pub fn transform_suffix(&self) -> &str
Trait Implementations§
source§impl Clone for FoldSpecificFieldKind
impl Clone for FoldSpecificFieldKind
source§fn clone(&self) -> FoldSpecificFieldKind
fn clone(&self) -> FoldSpecificFieldKind
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 FoldSpecificFieldKind
impl Debug for FoldSpecificFieldKind
source§impl<'de> Deserialize<'de> for FoldSpecificFieldKind
impl<'de> Deserialize<'de> for FoldSpecificFieldKind
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 Ord for FoldSpecificFieldKind
impl Ord for FoldSpecificFieldKind
source§fn cmp(&self, other: &FoldSpecificFieldKind) -> Ordering
fn cmp(&self, other: &FoldSpecificFieldKind) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for FoldSpecificFieldKind
impl PartialEq for FoldSpecificFieldKind
source§fn eq(&self, other: &FoldSpecificFieldKind) -> bool
fn eq(&self, other: &FoldSpecificFieldKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FoldSpecificFieldKind
impl PartialOrd for FoldSpecificFieldKind
source§fn partial_cmp(&self, other: &FoldSpecificFieldKind) -> Option<Ordering>
fn partial_cmp(&self, other: &FoldSpecificFieldKind) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for FoldSpecificFieldKind
impl Serialize for FoldSpecificFieldKind
impl Copy for FoldSpecificFieldKind
impl Eq for FoldSpecificFieldKind
impl StructuralEq for FoldSpecificFieldKind
impl StructuralPartialEq for FoldSpecificFieldKind
Auto Trait Implementations§
impl RefUnwindSafe for FoldSpecificFieldKind
impl Send for FoldSpecificFieldKind
impl Sync for FoldSpecificFieldKind
impl Unpin for FoldSpecificFieldKind
impl UnwindSafe for FoldSpecificFieldKind
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<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,
§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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.