pub struct RPtrM<Obj: Any, T: SEXPbucket> { /* private fields */ }
Implementations§
Source§impl<Obj: Any, T: SEXPbucket> RPtrM<Obj, T>
impl<Obj: Any, T: SEXPbucket> RPtrM<Obj, T>
pub fn init() -> RPtrParam<Obj, T>
pub fn new(ptr: Box<Obj>) -> RPtrM<Obj, T>
pub fn get(&mut self) -> RResult<&mut Obj>
pub unsafe fn uget(&mut self) -> *mut Obj
pub fn init_sexp(x: SEXP, tag: SEXP, prot: SEXP) -> RResult<RPtrM<Obj, T>>
pub fn get_tag(&self) -> SEXP
pub fn set_tag(&self, x: SEXP)
pub fn get_prot(&self) -> SEXP
pub fn set_prot(&self, x: SEXP)
Trait Implementations§
Source§impl<Obj: Any, T: SEXPbucket> RAttribute for RPtrM<Obj, T>
impl<Obj: Any, T: SEXPbucket> RAttribute for RPtrM<Obj, T>
fn get_attr<D: RNew, S: SEXPbucket, EE: Into<SymbolM<S>>>( &self, name: EE, ) -> RResult<D>
fn set_attr<T: ToSEXP, EE: Into<SymbolM<S>>, S: SEXPbucket>( &self, name: EE, attr: T, )
fn attribute_names(&self) -> Vec<CString>
fn has_attribute(&self, attr: &str) -> bool
fn attributte<D: RNew>(&self) -> RResult<D>
Source§impl<Obj: Any, T: SEXPbucket> ToSEXP for RPtrM<Obj, T>
impl<Obj: Any, T: SEXPbucket> ToSEXP for RPtrM<Obj, T>
unsafe fn s(&self) -> SEXP
fn rtype(&self) -> Rtype
unsafe fn t(&self) -> Rtemp
fn print(&self)
fn is_null(&self) -> bool
fn is_object(&self) -> bool
fn is_s4(&self) -> bool
fn is_array(&self) -> bool
fn is_factor(&self) -> bool
fn is_frame(&self) -> bool
fn is_function(&self) -> bool
fn is_integer(&self) -> bool
fn is_language(&self) -> bool
fn is_list(&self) -> bool
fn is_matrix(&self) -> bool
fn is_newlist(&self) -> bool
fn is_number(&self) -> bool
fn is_numeric(&self) -> bool
fn is_pairlist(&self) -> bool
fn is_primitive(&self) -> bool
fn is_ts(&self) -> bool
fn is_userbinop(&self) -> bool
fn is_validstring(&self) -> bool
fn is_validstringf(&self) -> bool
fn is_vector(&self) -> bool
fn is_vectoratomic(&self) -> bool
fn is_vectorlist(&self) -> bool
fn is_vectorizable(&self) -> bool
fn is_ordered(&self) -> bool
fn is_unordered(&self) -> bool
fn is_data_frame(&self) -> bool
Auto Trait Implementations§
impl<Obj, T> Freeze for RPtrM<Obj, T>where
T: Freeze,
impl<Obj, T> RefUnwindSafe for RPtrM<Obj, T>where
T: RefUnwindSafe,
Obj: RefUnwindSafe,
impl<Obj, T> !Send for RPtrM<Obj, T>
impl<Obj, T> !Sync for RPtrM<Obj, T>
impl<Obj, T> Unpin for RPtrM<Obj, T>
impl<Obj, T> UnwindSafe for RPtrM<Obj, T>where
T: UnwindSafe,
Obj: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more