pub trait SEXPbucket: Drop + ToSEXP {
// Required methods
fn init() -> Self;
fn new(x: SEXP) -> Self;
fn invalidate(&mut self) -> SEXP;
fn inherits(&self, class_: &str) -> RResult<bool>;
fn set(&mut self, x: SEXP);
fn copy<'a, 'b>(&'a mut self, other: &'b Self) -> &'a Self;
}
Required Methods§
fn init() -> Self
fn new(x: SEXP) -> Self
fn invalidate(&mut self) -> SEXP
fn inherits(&self, class_: &str) -> RResult<bool>
fn set(&mut self, x: SEXP)
fn copy<'a, 'b>(&'a mut self, other: &'b Self) -> &'a Self
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.