pub struct IntVecM<T: SEXPbucket> { /* private fields */ }
Implementations§
Source§impl<T: SEXPbucket> IntVecM<T>
impl<T: SEXPbucket> IntVecM<T>
pub fn new(x: SEXP) -> RResult<IntVecM<T>>
pub fn alloc(x: usize) -> IntVecM<T>
pub fn alloc_matrix(x: usize, y: usize) -> IntVecM<T>
pub fn at(&self, ind: usize) -> Option<c_int>
pub fn set(&mut self, ind: usize, value: c_int) -> RResult<()>
pub unsafe fn uat(&self, ind: usize) -> c_int
pub unsafe fn uset(&mut self, ind: usize, value: c_int)
pub fn range(&self, ind: Range<usize>) -> Option<Vec<c_int>>
pub fn is_duplicated(&self, from_last: bool) -> R_xlen_t
Trait Implementations§
Source§impl<T: SEXPbucket> Clone for IntVecM<T>
impl<T: SEXPbucket> Clone for IntVecM<T>
Source§impl<T: SEXPbucket> IntoIterator for IntVecM<T>
impl<T: SEXPbucket> IntoIterator for IntVecM<T>
Source§impl<T: SEXPbucket> Named for IntVecM<T>
impl<T: SEXPbucket> Named for IntVecM<T>
Source§impl<T: SEXPbucket> RAttribute for IntVecM<T>
impl<T: SEXPbucket> RAttribute for IntVecM<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<T: SEXPbucket> RDim for IntVecM<T>
impl<T: SEXPbucket> RDim for IntVecM<T>
type Output = i32
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<()>
Source§impl<T: SEXPbucket> RName for IntVecM<T>
impl<T: SEXPbucket> RName for IntVecM<T>
Source§impl<T: SEXPbucket> RSlot for IntVecM<T>
impl<T: SEXPbucket> RSlot for IntVecM<T>
Source§impl<T: SEXPbucket> Shallow for IntVecM<T>
impl<T: SEXPbucket> Shallow for IntVecM<T>
Source§impl<T: SEXPbucket> ToSEXP for IntVecM<T>
impl<T: SEXPbucket> ToSEXP for IntVecM<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<T> Freeze for IntVecM<T>where
T: Freeze,
impl<T> RefUnwindSafe for IntVecM<T>where
T: RefUnwindSafe,
impl<T> Send for IntVecM<T>where
T: Send,
impl<T> Sync for IntVecM<T>where
T: Sync,
impl<T> Unpin for IntVecM<T>where
T: Unpin,
impl<T> UnwindSafe for IntVecM<T>where
T: 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