Trait liquid::model::ObjectIndex

source ·
pub trait ObjectIndex: Debug + Display + Ord + Hash + Eq + Borrow<str> {
    // Required method
    fn as_index(&self) -> &str;
}
Expand description

Owned object index

Required Methods§

source

fn as_index(&self) -> &str

Borrow the index

Implementations on Foreign Types§

source§

impl ObjectIndex for String

source§

fn as_index(&self) -> &str

source§

impl ObjectIndex for KStringBase<Box<str, Global>>

source§

fn as_index(&self) -> &str

source§

impl<'s> ObjectIndex for KStringCowBase<'s, Box<str, Global>>

source§

fn as_index(&self) -> &str

Implementors§