Tag

Trait Tag 

Source
pub trait Tag:
    Sized
    + Copy
    + Eq
    + Default
    + Countable { }
Expand description

Trait for tags that can be attached to pointers (e.g. edges, see Edge::Tag)

This trait is automatically implemented for types that implement Eq, Default, and Countable.

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<T: Eq + Default + Countable> Tag for T