Trait nom::AsBytes[][src]

pub trait AsBytes {
    fn as_bytes(&self) -> &[u8]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
; }

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

Required methods

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

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

casts the input type to a byte slice

Loading content...

Implementations on Foreign Types

impl<'a> AsBytes for &'a str[src]

impl AsBytes for str[src]

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

impl AsBytes for [u8][src]

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

impl AsBytes for [u8; 0][src]

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

impl AsBytes for [u8; 1][src]

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

impl AsBytes for [u8; 2][src]

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

impl AsBytes for [u8; 3][src]

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

impl AsBytes for [u8; 4][src]

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

impl AsBytes for [u8; 5][src]

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

impl AsBytes for [u8; 6][src]

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

impl AsBytes for [u8; 7][src]

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

impl AsBytes for [u8; 8][src]

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

impl AsBytes for [u8; 9][src]

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

impl AsBytes for [u8; 10][src]

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

impl AsBytes for [u8; 11][src]

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

impl AsBytes for [u8; 12][src]

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

impl AsBytes for [u8; 13][src]

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

impl AsBytes for [u8; 14][src]

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

impl AsBytes for [u8; 15][src]

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

impl AsBytes for [u8; 16][src]

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

impl AsBytes for [u8; 17][src]

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

impl AsBytes for [u8; 18][src]

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

impl AsBytes for [u8; 19][src]

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

impl AsBytes for [u8; 20][src]

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

impl AsBytes for [u8; 21][src]

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

impl AsBytes for [u8; 22][src]

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

impl AsBytes for [u8; 23][src]

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

impl AsBytes for [u8; 24][src]

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

impl AsBytes for [u8; 25][src]

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

impl AsBytes for [u8; 26][src]

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

impl AsBytes for [u8; 27][src]

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

impl AsBytes for [u8; 28][src]

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

impl AsBytes for [u8; 29][src]

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

impl AsBytes for [u8; 30][src]

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

impl AsBytes for [u8; 31][src]

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

impl AsBytes for [u8; 32][src]

Loading content...

Implementors

Loading content...