MagicAny

Trait MagicAny 

Source
pub trait MagicAny:
    Debug
    + DynEq
    + DynHash
    + TraceRawVcs
    + Send
    + Sync
    + 'static {
    // Required method
    fn magic_type_name(&self) -> &'static str;
}

Required Methods§

Source

fn magic_type_name(&self) -> &'static str

Implementations§

Source§

impl dyn MagicAny

Source

pub fn as_serialize<T: Debug + Eq + Hash + Serialize + Send + Sync + TraceRawVcs + 'static>( &self, ) -> &dyn Serialize

Trait Implementations§

Source§

impl Hash for dyn MagicAny

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
Source§

impl PartialEq for dyn MagicAny

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for dyn MagicAny

Implementors§

Source§

impl<T> MagicAny for T
where T: Debug + Eq + Hash + Send + Sync + TraceRawVcs + 'static,