Trait Tag

Source
pub trait Tag<'a>: Sized + 'static {
    type Type: 'a;
}
Expand description

An identifier which may be used to tag a specific

Required Associated Types§

Source

type Type: 'a

The type of values which may be tagged by this Tag.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'a, T: ?Sized + 'static> Tag<'a> for Ref<T>

Source§

impl<'a, T: ?Sized + 'static> Tag<'a> for RefMut<T>