pub enum RType {
}Expand description
R type representation.
Variants§
Numeric
numeric — double-precision float (default numeric mode)
Integer
integer — 32-bit integer (suffix L in literals)
Logical
logical — boolean (TRUE/FALSE)
Character
character — string
Complex
complex — complex number
Raw
raw — raw bytes
List
list — heterogeneous list
DataFrame
data.frame — tabular data
Matrix(Box<RType>)
matrix — 2-D homogeneous array
Array(Box<RType>, Vec<usize>)
array — N-dimensional homogeneous array
Function
function — R function
Environment
environment — R environment
S3(String)
S3 class (informal, name-based)
S4(String)
S4 class (formal, slot-based)
R5(String)
R5 / Reference Class
R6(String)
R6 class (package R6)
Null
NULL
Na
NA (any mode)
Vector(Box<RType>)
Vector of a base type
Named(String)
Named list / environment
Trait Implementations§
impl StructuralPartialEq for RType
Auto Trait Implementations§
impl Freeze for RType
impl RefUnwindSafe for RType
impl Send for RType
impl Sync for RType
impl Unpin for RType
impl UnsafeUnpin for RType
impl UnwindSafe for RType
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