Trait tauri::TagRef[][src]

pub trait TagRef<T>: Display + ToOwned<Owned = T> + PartialEq<T> + Eq + Hash where
    T: Tag + Borrow<Self>, 
{ }
Expand description

A reference to a Tag.

  • Display so that we can still convert this tag to a JavaScript string.
  • ToOwned to make sure we can clone it into the owned tag in specific cases.
  • PartialEq so that we can compare refs to the owned tags easily.
  • Hash + Eq because we want to be able to use a ref as a key to internal hashmaps.

Implementors