Skip to main content

Module sexp_types

Module sexp_types 

Source
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 marker trait + 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§

pub use cetype_t::CE_UTF8;

Structs§

RLogical
R’s logical element type (the contents of a LGLSXP vector).
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§

RNativeType
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.