ToU32Array

Trait ToU32Array 

Source
pub trait ToU32Array<const T: usize> {
    // Required method
    fn to_u32_array(&self) -> [u32; T];
}
Expand description

Converts the specified primitive to a big-endian [[u32;T]]

Required Methods§

Source

fn to_u32_array(&self) -> [u32; T]

Creates an big-endian array of u32’s from this specified primitive type.

Implementations on Foreign Types§

Source§

impl ToU32Array<2> for u64

Source§

fn to_u32_array(&self) -> [u32; 2]

Source§

impl ToU32Array<4> for u128

Source§

fn to_u32_array(&self) -> [u32; 4]

Implementors§