Trait nom::AsBytes

source ·
pub trait AsBytes {
    // Required method
    fn as_bytes(&self) -> &[u8] ;
}
Expand description

Helper trait for types that can be viewed as a byte slice

Required Methods§

source

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

Casts the input type to a byte slice

Implementations on Foreign Types§

source§

impl<'a> AsBytes for &'a [u8; 31]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 6]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 32]

source§

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

source§

impl<'a> AsBytes for &'a [u8]

source§

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

source§

impl AsBytes for [u8; 9]

source§

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

source§

impl AsBytes for [u8; 22]

source§

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

source§

impl AsBytes for [u8; 32]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 28]

source§

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

source§

impl AsBytes for [u8; 25]

source§

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

source§

impl AsBytes for [u8; 30]

source§

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

source§

impl AsBytes for [u8; 0]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 1]

source§

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

source§

impl AsBytes for [u8; 17]

source§

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

source§

impl AsBytes for [u8; 24]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 14]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 10]

source§

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

source§

impl AsBytes for str

source§

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

source§

impl AsBytes for [u8; 16]

source§

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

source§

impl AsBytes for [u8; 27]

source§

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

source§

impl AsBytes for [u8; 1]

source§

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

source§

impl AsBytes for [u8; 12]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 18]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 21]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 0]

source§

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

source§

impl<'a> AsBytes for &'a str

source§

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

source§

impl AsBytes for [u8; 3]

source§

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

source§

impl AsBytes for [u8; 28]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 26]

source§

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

source§

impl AsBytes for [u8]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 19]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 13]

source§

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

source§

impl AsBytes for [u8; 10]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 12]

source§

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

source§

impl AsBytes for [u8; 6]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 27]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 11]

source§

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

source§

impl AsBytes for [u8; 5]

source§

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

source§

impl AsBytes for [u8; 13]

source§

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

source§

impl AsBytes for [u8; 29]

source§

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

source§

impl AsBytes for [u8; 4]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 5]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 22]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 3]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 4]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 2]

source§

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

source§

impl AsBytes for [u8; 21]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 8]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 20]

source§

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

source§

impl AsBytes for [u8; 11]

source§

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

source§

impl AsBytes for [u8; 23]

source§

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

source§

impl AsBytes for [u8; 31]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 7]

source§

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

source§

impl AsBytes for [u8; 14]

source§

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

source§

impl AsBytes for [u8; 7]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 16]

source§

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

source§

impl AsBytes for [u8; 8]

source§

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

source§

impl AsBytes for [u8; 20]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 30]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 29]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 23]

source§

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

source§

impl AsBytes for [u8; 2]

source§

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

source§

impl AsBytes for [u8; 15]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 17]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 9]

source§

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

source§

impl AsBytes for [u8; 26]

source§

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

source§

impl AsBytes for [u8; 19]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 15]

source§

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

source§

impl AsBytes for [u8; 18]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 24]

source§

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

source§

impl<'a> AsBytes for &'a [u8; 25]

source§

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

Implementors§