Struct rustr::vector::cplvec::CplVecM [] [src]

pub struct CplVecM<T: SEXPbucket> {
    // some fields omitted
}

Methods

impl<T: SEXPbucket> CplVecM<T>

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

fn alloc(x: usize) -> CplVecM<T>

fn alloc_matrix(x: usize, y: usize) -> CplVecM<T>

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

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

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

unsafe fn uset(&mut self, ind: usize, value: Rcomplex)

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

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

Trait Implementations

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

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

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

unsafe fn uintor(&self) -> SEXP

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

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

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

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

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

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

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

fn set(&mut self, x: Self)

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

fn sc(&self) -> Self

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

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

fn clone(&self) -> Self

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

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

type Origin = CplVecM<T>

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

fn named(&self) -> bool

fn name(&self) -> SEXP

impl<T: SEXPbucket, E: Into<Rcomplex> + Clone> From<Vec<E>> for CplVecM<T>

fn from(x: Vec<E>) -> CplVecM<T>

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

unsafe fn urnew(x: SEXP) -> Self

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

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

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

fn rsize(&self) -> R_xlen_t

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

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

fn name(&self) -> CharVec

unsafe fn namesexp(&self) -> SEXP

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

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

impl<T: SEXPbucket> RDim for CplVecM<T>

type Output = Rcomplex

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

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

fn nrow(&self) -> usize

fn ncol(&self) -> usize

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

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

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

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

type Item = Rcomplex

type IntoIter = CplVecIter<T>

fn into_iter(self) -> Self::IntoIter

Derived Implementations

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

fn fmt(&self, __arg_0: &mut Formatter) -> Result