Expand description
Core type vocabulary for R values: SEXPTYPE, R_xlen_t, Rcomplex,
RLogical, Rboolean, RNativeType, cetype_t.
Core type vocabulary for R values: SEXPTYPE, R_xlen_t, Rbyte,
Rcomplex, RLogical, Rboolean, cetype_t, R_CFinalizer_t, and
the RNativeType and IsNA traits + impls.
These types are the bridge between raw R FFI (in crate::sys) and the
safe Rust API on SEXP (in crate::sexp and crate::sexp_ext).
Most user code reaches them via crate::prelude.
Re-exportsยง
use crate::SEXP;๐use crate::altrep_traits::NA_REAL;๐use crate::sys::COMPLEX;๐use crate::sys::COMPLEX_ELT;๐use crate::sys::INTEGER;๐use crate::sys::INTEGER_ELT;๐use crate::sys::LOGICAL;๐use crate::sys::LOGICAL_ELT;๐use crate::sys::RAW;๐use crate::sys::RAW_ELT;๐use crate::sys::REAL;๐use crate::sys::REAL_ELT;๐use crate::sys::Rf_type2char;๐use crate::sys::Rf_xlength;๐pub use cetype_t::CE_UTF8;
Structsยง
- RLogical
- Rโs logical element type (the contents of a
LGLSXPvector). - Rcomplex
- Rโs complex scalar layout (
Rcomplex).
Enumsยง
- Rboolean
- Binary boolean used by many R C APIs.
- SEXPTYPE
- R S-expression tag values (
SEXPTYPE). - cetype_
t - Character encoding tag used by CHARSXP constructors.
Traitsยง
- IsNA
- Native R elements with an actual NA representation.
- RNative
Type - Marker trait for types that correspond to Rโs native vector element types.
Type Aliasesยง
- R_
CFinalizer_ t - C finalizer callback signature used by external pointers.
- R_
xlen_ t - Rโs extended vector length type (
R_xlen_t). - Rbyte
- R byte element type used by
RAWSXP.