Skip to main content

to_ts_vec

Function to_ts_vec 

Source
pub fn to_ts_vec<T: Tsify + Serialize>(values: &[T]) -> Result<Vec<Ts<T>>>
Expand description

Element-wise to_ts: tsify supports Vec<Ts<T>> but not Ts<Vec<T>>.