R_altstring_Is_sorted_method_t

Type Alias R_altstring_Is_sorted_method_t 

Source
pub type R_altstring_Is_sorted_method_t = Option<unsafe extern "C" fn(arg1: SEXP) -> c_int>;
Expand description

Must return one of the sortedness constants: SORTED_DECR, UNKNOWN_SORTEDNESS, SORTED_INCR. See STRING_IS_SORTED. The default method always returns UNKNOWN_SORTEDNESS.

Aliased Type§

pub enum R_altstring_Is_sorted_method_t {
    None,
    Some(unsafe extern "C" fn(*mut SEXPREC) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut SEXPREC) -> i32)

Some value of type T.