Tags

Trait Tags 

Source
pub trait Tags {
    // Required methods
    fn value(&self, name: &str) -> Option<Value>;
    fn keys() -> Vec<String>;

    // Provided method
    fn is_tag(&self, name: &str) -> bool { ... }
}

Required Methods§

Source

fn value(&self, name: &str) -> Option<Value>

Source

fn keys() -> Vec<String>

Provided Methods§

Source

fn is_tag(&self, name: &str) -> bool

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§