pub trait GetSexp {
// Required methods
unsafe fn get(&self) -> SEXP;
unsafe fn get_mut(&mut self) -> SEXP;
fn as_robj(&self) -> &Robj;
fn as_robj_mut(&mut self) -> &mut Robj;
}
Required Methods§
Sourceunsafe fn get(&self) -> SEXP
unsafe fn get(&self) -> SEXP
Get a copy of the underlying SEXP.
§Safety
Access to a raw SEXP pointer can cause undefined behaviour and is not thread safe.
unsafe fn get_mut(&mut self) -> SEXP
Sourcefn as_robj_mut(&mut self) -> &mut Robj
fn as_robj_mut(&mut self) -> &mut Robj
Get a mutable reference to a Robj for this type.