Skip to main content

AsTag

Trait AsTag 

Source
pub trait AsTag:
    Clone
    + Debug
    + Eq
    + Hash
    + Send
    + Sync { }
Expand description

Tag type needs to implement these traits: Clone, Debug, Eq, Hash, Send, Sync.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> AsTag for T
where T: Clone + Debug + Eq + Hash + Send + Sync,