[][src]Function ethereum_keystore::to_arr

pub fn to_arr<A, T>(slice: &[T]) -> A where
    A: AsMut<[T]> + Default,
    T: Clone

Convert a slice into array

Arguments

  • slice - slice to be converted