Skip to main content

validate_coercion

Function validate_coercion 

Source
fn validate_coercion<S, T>(slice: &[S]) -> Result<(), SexpError>
where S: Copy + TryCoerce<T>, <S as TryCoerce<T>>::Error: Debug,
Expand description

Helper to validate all elements can be coerced.