pub trait RField: ToSEXP + SetSEXP {
// Provided methods
fn get<D: RNew>(&self, field_name: &str) -> RResult<D> { ... }
fn set<T: ToSEXP>(&mut self, field_name: &str, x: T) { ... }
}
Provided Methods§
fn get<D: RNew>(&self, field_name: &str) -> RResult<D>
fn set<T: ToSEXP>(&mut self, field_name: &str, x: T)
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.