pub trait PropPair {
    // Required method
    fn to_pair(&self, key: &str) -> String;
}
Expand description

Implement this for your custom properties.

Required Methods§

source

fn to_pair(&self, key: &str) -> String

Convert &self to {key}={value} string.

Implementations on Foreign Types§

source§

impl PropPair for String

source§

fn to_pair(&self, key: &str) -> String

source§

impl PropPair for bool

source§

fn to_pair(&self, key: &str) -> String

Implementors§