pub trait AltString: AltVec {
const HAS_SET_ELT: bool = false;
const HAS_IS_SORTED: bool = false;
const HAS_NO_NA: bool = false;
// Required method
fn elt(x: SEXP, i: R_xlen_t) -> SEXP;
// Provided methods
fn set_elt(_x: SEXP, _i: R_xlen_t, _v: SEXP) { ... }
fn is_sorted(_x: SEXP) -> i32 { ... }
fn no_na(_x: SEXP) -> i32 { ... }
}Expand description
String vector methods.
REQUIRED: elt must be implemented (no default).
R will error with “No Elt method found” if you don’t provide it.
Provided Associated Constants§
Sourceconst HAS_SET_ELT: bool = false
const HAS_SET_ELT: bool = false
Set to true to register set_elt.
Sourceconst HAS_IS_SORTED: bool = false
const HAS_IS_SORTED: bool = false
Set to true to register is_sorted.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.