extendr_api::robj::into_robj

Trait IntoRobj

Source
pub trait IntoRobj {
    // Required method
    fn into_robj(self) -> Robj;
}
Expand description

This is an extension trait to provide a convenience method into_robj().

Defer to From<T> for Robj-impls if you have custom types.

Required Methods§

Source

fn into_robj(self) -> Robj

Implementors§

Source§

impl<T> IntoRobj for T
where Robj: From<T>,