[][src]Trait parquet::data_type::AsBytes

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

Converts an instance of data type to a slice of bytes as u8.

Required Methods

Returns slice of bytes for this data type.

Implementations on Foreign Types

impl AsBytes for bool
[src]

impl AsBytes for u8
[src]

impl AsBytes for i32
[src]

impl AsBytes for u32
[src]

impl AsBytes for i64
[src]

impl AsBytes for f32
[src]

impl AsBytes for f64
[src]

impl AsBytes for Vec<u8>
[src]

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

impl AsBytes for str
[src]

Implementors

impl AsBytes for Decimal
[src]

impl AsBytes for ByteArray
[src]

impl AsBytes for Int96
[src]