Trait SEXPbucket

Source
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§

Source

fn init() -> Self

Source

fn new(x: SEXP) -> Self

Source

fn invalidate(&mut self) -> SEXP

Source

fn inherits(&self, class_: &str) -> RResult<bool>

Source

fn set(&mut self, x: SEXP)

Source

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.

Implementors§