[−][src]Trait sp_core::hexdisplay::AsBytesRef
Simple trait to transform various types to &[u8]
Required methods
fn as_bytes_ref(&self) -> &[u8]
Transform self
into &[u8]
.
Simple trait to transform various types to &[u8]
fn as_bytes_ref(&self) -> &[u8]
Transform self
into &[u8]
.
impl<'_> AsBytesRef for &'_ [u8]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for Vec<u8>
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8; 1]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8; 2]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8; 3]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8; 4]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8; 5]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8; 6]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8; 7]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8; 8]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8; 10]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8; 12]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8; 14]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8; 16]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8; 20]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8; 24]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8; 28]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8; 32]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8; 40]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8; 48]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8; 56]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8; 64]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8; 65]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8; 80]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8; 96]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8; 112]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]impl AsBytesRef for [u8; 128]
[src]fn as_bytes_ref(&self) -> &[u8]
[src]