libutils 8.34.20

Common library types for faster development
//^
//^ HEAD
//^

//> HEAD -> SUPER
use super::Array;


//^
//^ CONVERSIONS
//^

//> CONVERSIONS -> FROM FIXED TO VARIABLE
impl<Type, const M: usize, const N: usize> From<[Type; N]> for Array<Type, M> {
    fn from(value: [Type; N]) -> Self {return Array::from_iter(value)}
}

//> CONVERSIONS -> VEC
impl<Type, const N: usize> Into<Vec<Type>> for Array<Type, N> {
    fn into(self) -> Vec<Type> {return Vec::from_iter(self.into_iter())}
}