Struct ExprVecM

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

Implementations§

Source§

impl<T: SEXPbucket> ExprVecM<T>

Source

pub fn new(x: SEXP) -> RResult<ExprVecM<T>>

Source

pub fn alloc(x: usize) -> ExprVecM<T>

Source

pub fn alloc_matrix(x: c_int, y: c_int) -> ExprVecM<T>

Source

pub fn at(&self, ind: usize) -> Option<SEXP>

Source

pub unsafe fn uat(&self, ind: usize) -> SEXP

Source

pub unsafe fn uset<TT: ToExpr>(&mut self, ind: usize, value: TT)

Source

pub fn set<TT: ToExpr>(&mut self, ind: usize, value: TT) -> RResult<()>

Source

pub fn range(&self, ind: Range<usize>) -> Option<Vec<SEXP>>

Source

pub fn is_duplicated(&self, from_last: bool) -> R_xlen_t

Trait Implementations§

Source§

impl<T: SEXPbucket> Clone for ExprVecM<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 ExprVecM<T>

Source§

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

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

impl<T: SEXPbucket> IntoIterator for ExprVecM<T>

Source§

type Item = *mut Struct_SEXPREC

The type of the elements being iterated over.
Source§

type IntoIter = ExprIter<T>

Which kind of iterator are we turning this into?
Source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
Source§

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

Source§

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

Source§

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

Source§

fn named(&self) -> bool

Source§

fn name(&self) -> SEXP

Source§

impl<T: SEXPbucket> RAttribute for ExprVecM<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> RDim for ExprVecM<T>

Source§

type Output = *mut Struct_SEXPREC

Source§

fn dim(&self) -> Vec<usize>

Source§

fn set_dim(&mut self, x: &[usize]) -> RResult<()>

Source§

fn nrow(&self) -> usize

Source§

fn ncol(&self) -> usize

Source§

fn dimnamec(&self, side: usize) -> Vec<CString>

Source§

fn dimname(&self, side: usize) -> RResult<Vec<String>>

Source§

fn set_dimname(&mut self, side: usize, x: &[String]) -> RResult<()>

Source§

impl<T: SEXPbucket> RName for ExprVecM<T>

Source§

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

Source§

fn name(&self) -> CharVec

Source§

unsafe fn namesexp(&self) -> SEXP

Source§

fn set_name(&self, attr: &CharVec) -> RResult<()>

Source§

unsafe fn uset_name(&self, attr: &CharVec)

Source§

impl<T: SEXPbucket> RNew for ExprVecM<T>

Source§

fn rnew(x: SEXP) -> RResult<Self>

Source§

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

Source§

impl<T: SEXPbucket> RSize for ExprVecM<T>

Source§

fn rsize(&self) -> R_xlen_t

Source§

impl<T: SEXPbucket> RSlot for ExprVecM<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 ExprVecM<T>

Source§

fn set(&mut self, x: Self)

Source§

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

Source§

fn sc(&self) -> Self

Source§

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

Source§

impl<T: SEXPbucket> ToSEXP for ExprVecM<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 ExprVecM<T>

Source§

unsafe fn uintor(&self) -> SEXP

Source§

impl<T: SEXPbucket> URNew for ExprVecM<T>

Source§

unsafe fn urnew(x: SEXP) -> Self

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

§

impl<T> UnwindSafe for ExprVecM<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,