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