pub struct TagsStore { /* private fields */ }Expand description
A dictionary of mappings between tags and their names.
Implementations§
Trait Implementations§
source§impl TagsStoreTrait for TagsStore
impl TagsStoreTrait for TagsStore
fn assigned_name_for_tag(&self, tag: &Tag) -> Option<String>
fn name_for_tag(&self, tag: &Tag) -> String
fn tag_for_name(&self, name: &str) -> Option<Tag>
fn tag_for_value(&self, value: u64) -> Option<Tag>
fn name_for_tag_opt<T>(tag: &Tag, tags: Option<&T>) -> Stringwhere
T: TagsStoreTrait,
Self: Sized,
Auto Trait Implementations§
impl Freeze for TagsStore
impl RefUnwindSafe for TagsStore
impl Send for TagsStore
impl Sync for TagsStore
impl Unpin for TagsStore
impl UnwindSafe for TagsStore
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more