[][src]Trait sp_core::hexdisplay::AsBytesRef

pub trait AsBytesRef {
    fn as_bytes_ref(&self) -> &[u8];
}

Simple trait to transform various types to &[u8]

Required methods

fn as_bytes_ref(&self) -> &[u8]

Transform self into &[u8].

Loading content...

Implementations on Foreign Types

impl<'_> AsBytesRef for &'_ [u8][src]

impl AsBytesRef for [u8][src]

impl AsBytesRef for Vec<u8>[src]

impl AsBytesRef for [u8; 1][src]

impl AsBytesRef for [u8; 2][src]

impl AsBytesRef for [u8; 3][src]

impl AsBytesRef for [u8; 4][src]

impl AsBytesRef for [u8; 5][src]

impl AsBytesRef for [u8; 6][src]

impl AsBytesRef for [u8; 7][src]

impl AsBytesRef for [u8; 8][src]

impl AsBytesRef for [u8; 10][src]

impl AsBytesRef for [u8; 12][src]

impl AsBytesRef for [u8; 14][src]

impl AsBytesRef for [u8; 16][src]

impl AsBytesRef for [u8; 20][src]

impl AsBytesRef for [u8; 24][src]

impl AsBytesRef for [u8; 28][src]

impl AsBytesRef for [u8; 32][src]

impl AsBytesRef for [u8; 40][src]

impl AsBytesRef for [u8; 48][src]

impl AsBytesRef for [u8; 56][src]

impl AsBytesRef for [u8; 64][src]

impl AsBytesRef for [u8; 65][src]

impl AsBytesRef for [u8; 80][src]

impl AsBytesRef for [u8; 96][src]

impl AsBytesRef for [u8; 112][src]

impl AsBytesRef for [u8; 128][src]

Loading content...

Implementors

Loading content...