Trait ArrayExt

Source
pub trait ArrayExt<'a>: 'a {
    // Required method
    fn into_slice(self) -> &'a [u8] ;
}
Expand description

Shared trait for all array types.

Required Methods§

Source

fn into_slice(self) -> &'a [u8]

Convert the array into a slice of bytes.

Implementors§

Source§

impl<'a> ArrayExt<'a> for Rest<'a>

Source§

impl<'a, T> ArrayExt<'a> for RestArray<'a, T>
where T: DecoderFor<'a, T>,

Source§

impl<'a, T> ArrayExt<'a> for ZTArray<'a, T>
where T: DecoderFor<'a, T>,

Source§

impl<'a, T, L> ArrayExt<'a> for Array<'a, L, T>
where T: DecoderFor<'a, T>, L: 'a,