#[repr(u32)]pub enum SEXPTYPE {
Show 27 variants
NILSXP = 0,
SYMSXP = 1,
LISTSXP = 2,
CLOSXP = 3,
ENVSXP = 4,
PROMSXP = 5,
LANGSXP = 6,
SPECIALSXP = 7,
BUILTINSXP = 8,
CHARSXP = 9,
LGLSXP = 10,
INTSXP = 13,
REALSXP = 14,
CPLXSXP = 15,
STRSXP = 16,
DOTSXP = 17,
ANYSXP = 18,
VECSXP = 19,
EXPRSXP = 20,
BCODESXP = 21,
EXTPTRSXP = 22,
WEAKREFSXP = 23,
RAWSXP = 24,
OBJSXP = 25,
NEWSXP = 30,
FREESXP = 31,
FUNSXP = 99,
}
Expand description
—— enum_SEXPTYPE —–
Variants§
NILSXP = 0
nil = NULL
SYMSXP = 1
symbols
LISTSXP = 2
lists of dotted pairs
CLOSXP = 3
closures
ENVSXP = 4
environments
PROMSXP = 5
promises: [un]evaluated closure arguments
LANGSXP = 6
language constructs (special lists)
SPECIALSXP = 7
special forms
BUILTINSXP = 8
builtin non-special forms
CHARSXP = 9
“scalar” string type (internal only)
LGLSXP = 10
logical vectors
INTSXP = 13
integer vectors
REALSXP = 14
real variables
CPLXSXP = 15
complex variables
STRSXP = 16
string vectors
DOTSXP = 17
dot-dot-dot object
ANYSXP = 18
make “any” args work
VECSXP = 19
generic vectors
EXPRSXP = 20
expressions vectors
BCODESXP = 21
byte code
EXTPTRSXP = 22
external pointer
WEAKREFSXP = 23
weak reference
RAWSXP = 24
raw bytes
OBJSXP = 25
S4 non-vector
NEWSXP = 30
fresh node created in new page
FREESXP = 31
node released by GC
FUNSXP = 99
Closure or Builtin
Trait Implementations§
impl Copy for SEXPTYPE
impl Eq for SEXPTYPE
impl StructuralPartialEq for SEXPTYPE
Auto Trait Implementations§
impl Freeze for SEXPTYPE
impl RefUnwindSafe for SEXPTYPE
impl Send for SEXPTYPE
impl Sync for SEXPTYPE
impl Unpin for SEXPTYPE
impl UnwindSafe for SEXPTYPE
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)