pub enum AnonymousFunctionKind {
Function,
Arrow,
}Expand description
The kind of function that has no name of its own, which selects its placeholder name.
Variants§
Implementations§
Source§impl AnonymousFunctionKind
impl AnonymousFunctionKind
Sourcepub const fn placeholder(self) -> &'static str
pub const fn placeholder(self) -> &'static str
The placeholder name of this kind.
Trait Implementations§
Source§impl Clone for AnonymousFunctionKind
impl Clone for AnonymousFunctionKind
impl Copy for AnonymousFunctionKind
Source§impl Debug for AnonymousFunctionKind
impl Debug for AnonymousFunctionKind
impl<'__de> Decode<'__de> for AnonymousFunctionKindwhere
'__de:,
impl Encode for AnonymousFunctionKind
impl Eq for AnonymousFunctionKind
Source§impl PartialEq for AnonymousFunctionKind
impl PartialEq for AnonymousFunctionKind
Source§impl Serialize for AnonymousFunctionKind
impl Serialize for AnonymousFunctionKind
impl StructuralPartialEq for AnonymousFunctionKind
Auto Trait Implementations§
impl Freeze for AnonymousFunctionKind
impl RefUnwindSafe for AnonymousFunctionKind
impl Send for AnonymousFunctionKind
impl Sync for AnonymousFunctionKind
impl Unpin for AnonymousFunctionKind
impl UnsafeUnpin for AnonymousFunctionKind
impl UnwindSafe for AnonymousFunctionKind
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,
impl<T> DecodeOwned for Twhere
T: for<'de> Decode<'de>,
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.