Trait vegas_lattice::Tagged

source ·
pub trait Tagged {
    // Required method
    fn tags(&self) -> Option<&Vec<String>>;

    // Provided method
    fn has_tag(&self, tag: String) -> bool { ... }
}
Expand description

A trait for tagged objects

Required Methods§

source

fn tags(&self) -> Option<&Vec<String>>

Returns the tags of the object

Provided Methods§

source

fn has_tag(&self, tag: String) -> bool

Returns true if the object has the given tag

Implementors§