Struct RObjM

Source
pub struct RObjM<T: SEXPbucket> { /* private fields */ }

Implementations§

Source§

impl<T: SEXPbucket> RObjM<T>

Source

pub fn new<E: ToSEXP>(x: E) -> RObjM<T>

Trait Implementations§

Source§

impl<T: SEXPbucket> Clone for RObjM<T>

Source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<T: Debug + SEXPbucket> Debug for RObjM<T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<T: SEXPbucket> IntoR for RObjM<T>

Source§

fn intor(&self) -> RResult<SEXP>

Source§

impl<T: SEXPbucket> Named for RObjM<T>

Source§

fn named(&self) -> bool

Source§

fn name(&self) -> SEXP

Source§

impl<T: SEXPbucket> RAttribute for RObjM<T>

Source§

fn get_attr<D: RNew, S: SEXPbucket, EE: Into<SymbolM<S>>>( &self, name: EE, ) -> RResult<D>

Source§

fn set_attr<T: ToSEXP, EE: Into<SymbolM<S>>, S: SEXPbucket>( &self, name: EE, attr: T, )

Source§

fn attribute_names(&self) -> Vec<CString>

Source§

fn has_attribute(&self, attr: &str) -> bool

Source§

fn attributte<D: RNew>(&self) -> RResult<D>

Source§

impl<T: SEXPbucket> RObjClass for RObjM<T>

Source§

impl<T: SEXPbucket> RSlot for RObjM<T>

Source§

fn get_slot<D: RNew>(&self, slot: &str) -> RResult<D>

Source§

fn set_slot<T: ToSEXP, D: RNew>(&self, slot: &str, x: T) -> RResult<D>

Source§

fn has_slot(&self, slot: &str) -> RResult<bool>

Source§

impl<T: SEXPbucket> SetSelf for RObjM<T>

Source§

fn set(&mut self, x: Self)

Source§

impl<T: SEXPbucket> Shallow for RObjM<T>

Source§

fn sc(&self) -> Self

Source§

fn sclone_from(&mut self, source: &Self)

Source§

impl<T: SEXPbucket> ToSEXP for RObjM<T>

Source§

unsafe fn s(&self) -> SEXP

Source§

fn rtype(&self) -> Rtype

Source§

unsafe fn t(&self) -> Rtemp

Source§

fn print(&self)

Source§

fn is_null(&self) -> bool

Source§

fn is_object(&self) -> bool

Source§

fn is_s4(&self) -> bool

Source§

fn is_array(&self) -> bool

Source§

fn is_factor(&self) -> bool

Source§

fn is_frame(&self) -> bool

Source§

fn is_function(&self) -> bool

Source§

fn is_integer(&self) -> bool

Source§

fn is_language(&self) -> bool

Source§

fn is_list(&self) -> bool

Source§

fn is_matrix(&self) -> bool

Source§

fn is_newlist(&self) -> bool

Source§

fn is_number(&self) -> bool

Source§

fn is_numeric(&self) -> bool

Source§

fn is_pairlist(&self) -> bool

Source§

fn is_primitive(&self) -> bool

Source§

fn is_ts(&self) -> bool

Source§

fn is_userbinop(&self) -> bool

Source§

fn is_validstring(&self) -> bool

Source§

fn is_validstringf(&self) -> bool

Source§

fn is_vector(&self) -> bool

Source§

fn is_vectoratomic(&self) -> bool

Source§

fn is_vectorlist(&self) -> bool

Source§

fn is_vectorizable(&self) -> bool

Source§

fn is_ordered(&self) -> bool

Source§

fn is_unordered(&self) -> bool

Source§

fn is_data_frame(&self) -> bool

Source§

impl<T: SEXPbucket> UIntoR for RObjM<T>

Source§

unsafe fn uintor(&self) -> SEXP

Auto Trait Implementations§

§

impl<T> Freeze for RObjM<T>
where T: Freeze,

§

impl<T> RefUnwindSafe for RObjM<T>
where T: RefUnwindSafe,

§

impl<T> Send for RObjM<T>
where T: Send,

§

impl<T> Sync for RObjM<T>
where T: Sync,

§

impl<T> Unpin for RObjM<T>
where T: Unpin,

§

impl<T> UnwindSafe for RObjM<T>
where T: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> Args for T
where T: Named,