Skip to main content

try_from_sexp_numeric_set

Function try_from_sexp_numeric_set 

Source
fn try_from_sexp_numeric_set<T, S>(
    sexp: SEXP,
    container: &str,
) -> Result<S, SexpError>
where S: FromIterator<T>, i32: TryCoerce<T>, f64: TryCoerce<T>, u8: TryCoerce<T>, <i32 as TryCoerce<T>>::Error: Display, <f64 as TryCoerce<T>>::Error: Display, <u8 as TryCoerce<T>>::Error: Display,
Expand description

Convert numeric/logical/raw vectors to a set type with element-wise coercion.

Inherits try_from_sexp_numeric_vec’s batching; container names the target set type for the message (e.g. "HashSet<u32>").