pub enum FnWithArgsOrAny<const N: usize> {
Any(Any),
FnWithArgs(FnWithArgs<N>),
}Variants§
Any(Any)
FnWithArgs(FnWithArgs<N>)
Implementations§
Trait Implementations§
source§impl<const N: usize> Clone for FnWithArgsOrAny<N>
impl<const N: usize> Clone for FnWithArgsOrAny<N>
source§fn clone(&self) -> FnWithArgsOrAny<N>
fn clone(&self) -> FnWithArgsOrAny<N>
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<const N: usize> Debug for FnWithArgsOrAny<N>
impl<const N: usize> Debug for FnWithArgsOrAny<N>
source§impl<const N: usize> Default for FnWithArgsOrAny<N>
impl<const N: usize> Default for FnWithArgsOrAny<N>
source§impl<'de, const N: usize> Deserialize<'de> for FnWithArgsOrAny<N>
impl<'de, const N: usize> Deserialize<'de> for FnWithArgsOrAny<N>
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<const N: usize> From<FnWithArgs<N>> for FnWithArgsOrAny<N>
impl<const N: usize> From<FnWithArgs<N>> for FnWithArgsOrAny<N>
source§fn from(value: FnWithArgs<N>) -> Self
fn from(value: FnWithArgs<N>) -> Self
Converts to this type from the input type.
source§impl<const N: usize> Ord for FnWithArgsOrAny<N>
impl<const N: usize> Ord for FnWithArgsOrAny<N>
source§fn cmp(&self, other: &FnWithArgsOrAny<N>) -> Ordering
fn cmp(&self, other: &FnWithArgsOrAny<N>) -> 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<const N: usize> PartialEq for FnWithArgsOrAny<N>
impl<const N: usize> PartialEq for FnWithArgsOrAny<N>
source§impl<const N: usize> PartialOrd for FnWithArgsOrAny<N>
impl<const N: usize> PartialOrd for FnWithArgsOrAny<N>
source§impl<const N: usize> Serialize for FnWithArgsOrAny<N>
impl<const N: usize> Serialize for FnWithArgsOrAny<N>
impl<const N: usize> Eq for FnWithArgsOrAny<N>
impl<const N: usize> StructuralPartialEq for FnWithArgsOrAny<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for FnWithArgsOrAny<N>
impl<const N: usize> RefUnwindSafe for FnWithArgsOrAny<N>
impl<const N: usize> Send for FnWithArgsOrAny<N>
impl<const N: usize> Sync for FnWithArgsOrAny<N>
impl<const N: usize> Unpin for FnWithArgsOrAny<N>
impl<const N: usize> UnwindSafe for FnWithArgsOrAny<N>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)