Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
find_indices in datafusion_common::utils - Rust
[go: Go Back, main page]

Function find_indices

Source
pub fn find_indices<T: PartialEq, S: Borrow<T>>(
    items: &[T],
    targets: impl IntoIterator<Item = S>,
) -> Result<Vec<usize>>
Expand description

Find indices of each element in targets inside items. If one of the elements is absent in items, returns an error.