extendr_api::wrapper::list

Trait KeyValue

Source
pub trait KeyValue {
    // Required methods
    fn key(&self) -> String;
    fn value(self) -> Robj;
}

Required Methods§

Source

fn key(&self) -> String

Source

fn value(self) -> Robj

Implementations on Foreign Types§

Source§

impl<T: AsRef<str>> KeyValue for (T, Robj)

Source§

fn key(&self) -> String

Source§

fn value(self) -> Robj

Implementors§