pub trait RName: ToSEXP + RSize {
// Provided methods
fn get_name<D: RNew>(&self) -> RResult<D> { ... }
fn name(&self) -> CharVec { ... }
unsafe fn namesexp(&self) -> SEXP { ... }
fn set_name(&self, attr: &CharVec) -> RResult<()> { ... }
unsafe fn uset_name(&self, attr: &CharVec) { ... }
}
Provided Methods§
fn get_name<D: RNew>(&self) -> RResult<D>
fn name(&self) -> CharVec
unsafe fn namesexp(&self) -> SEXP
fn set_name(&self, attr: &CharVec) -> RResult<()>
unsafe fn uset_name(&self, attr: &CharVec)
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.