Enum chart_js_rs::types::FnWithArgsOrAny
source · pub enum FnWithArgsOrAny {
Any(Any),
FnWithArgs(FnWithArgs),
}
Variants§
Any(Any)
FnWithArgs(FnWithArgs)
Trait Implementations§
source§impl Clone for FnWithArgsOrAny
impl Clone for FnWithArgsOrAny
source§fn clone(&self) -> FnWithArgsOrAny
fn clone(&self) -> FnWithArgsOrAny
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 FnWithArgsOrAny
impl Debug for FnWithArgsOrAny
source§impl Default for FnWithArgsOrAny
impl Default for FnWithArgsOrAny
source§impl<'de> Deserialize<'de> for FnWithArgsOrAny
impl<'de> Deserialize<'de> for FnWithArgsOrAny
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 From<FnWithArgs> for FnWithArgsOrAny
impl From<FnWithArgs> for FnWithArgsOrAny
source§fn from(value: FnWithArgs) -> Self
fn from(value: FnWithArgs) -> Self
Converts to this type from the input type.
source§impl<T: Display> From<T> for FnWithArgsOrAny
impl<T: Display> From<T> for FnWithArgsOrAny
source§impl Ord for FnWithArgsOrAny
impl Ord for FnWithArgsOrAny
source§fn cmp(&self, other: &FnWithArgsOrAny) -> Ordering
fn cmp(&self, other: &FnWithArgsOrAny) -> 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 FnWithArgsOrAny
impl PartialEq for FnWithArgsOrAny
source§fn eq(&self, other: &FnWithArgsOrAny) -> bool
fn eq(&self, other: &FnWithArgsOrAny) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FnWithArgsOrAny
impl PartialOrd for FnWithArgsOrAny
source§fn partial_cmp(&self, other: &FnWithArgsOrAny) -> Option<Ordering>
fn partial_cmp(&self, other: &FnWithArgsOrAny) -> 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 FnWithArgsOrAny
impl Serialize for FnWithArgsOrAny
impl Eq for FnWithArgsOrAny
impl StructuralPartialEq for FnWithArgsOrAny
Auto Trait Implementations§
impl Freeze for FnWithArgsOrAny
impl RefUnwindSafe for FnWithArgsOrAny
impl Send for FnWithArgsOrAny
impl Sync for FnWithArgsOrAny
impl Unpin for FnWithArgsOrAny
impl UnwindSafe for FnWithArgsOrAny
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