Enum scroll::Endian[][src]

pub enum Endian {
    Little,
    Big,
}

The endianness (byte order) of a stream of bytes

Variants

Methods

impl Endian
[src]

Trait Implementations

impl<'a> FromCtx<Endian> for u8
[src]

impl<'a> TryFromCtx<'a, Endian> for u8 where
    u8: FromCtx<Endian>, 
[src]

impl<'a, T> FromCtx<Endian, T> for u8 where
    T: AsRef<[u8]>, 
[src]

impl<'a, T> TryFromCtx<'a, Endian, T> for u8 where
    u8: FromCtx<Endian, T>,
    T: AsRef<[u8]>, 
[src]

impl<'a> FromCtx<Endian> for i8
[src]

impl<'a> TryFromCtx<'a, Endian> for i8 where
    i8: FromCtx<Endian>, 
[src]

impl<'a, T> FromCtx<Endian, T> for i8 where
    T: AsRef<[u8]>, 
[src]

impl<'a, T> TryFromCtx<'a, Endian, T> for i8 where
    i8: FromCtx<Endian, T>,
    T: AsRef<[u8]>, 
[src]

impl<'a> FromCtx<Endian> for u16
[src]

impl<'a> TryFromCtx<'a, Endian> for u16 where
    u16: FromCtx<Endian>, 
[src]

impl<'a, T> FromCtx<Endian, T> for u16 where
    T: AsRef<[u8]>, 
[src]

impl<'a, T> TryFromCtx<'a, Endian, T> for u16 where
    u16: FromCtx<Endian, T>,
    T: AsRef<[u8]>, 
[src]

impl<'a> FromCtx<Endian> for i16
[src]

impl<'a> TryFromCtx<'a, Endian> for i16 where
    i16: FromCtx<Endian>, 
[src]

impl<'a, T> FromCtx<Endian, T> for i16 where
    T: AsRef<[u8]>, 
[src]

impl<'a, T> TryFromCtx<'a, Endian, T> for i16 where
    i16: FromCtx<Endian, T>,
    T: AsRef<[u8]>, 
[src]

impl<'a> FromCtx<Endian> for u32
[src]

impl<'a> TryFromCtx<'a, Endian> for u32 where
    u32: FromCtx<Endian>, 
[src]

impl<'a, T> FromCtx<Endian, T> for u32 where
    T: AsRef<[u8]>, 
[src]

impl<'a, T> TryFromCtx<'a, Endian, T> for u32 where
    u32: FromCtx<Endian, T>,
    T: AsRef<[u8]>, 
[src]

impl<'a> FromCtx<Endian> for i32
[src]

impl<'a> TryFromCtx<'a, Endian> for i32 where
    i32: FromCtx<Endian>, 
[src]

impl<'a, T> FromCtx<Endian, T> for i32 where
    T: AsRef<[u8]>, 
[src]

impl<'a, T> TryFromCtx<'a, Endian, T> for i32 where
    i32: FromCtx<Endian, T>,
    T: AsRef<[u8]>, 
[src]

impl<'a> FromCtx<Endian> for u64
[src]

impl<'a> TryFromCtx<'a, Endian> for u64 where
    u64: FromCtx<Endian>, 
[src]

impl<'a, T> FromCtx<Endian, T> for u64 where
    T: AsRef<[u8]>, 
[src]

impl<'a, T> TryFromCtx<'a, Endian, T> for u64 where
    u64: FromCtx<Endian, T>,
    T: AsRef<[u8]>, 
[src]

impl<'a> FromCtx<Endian> for i64
[src]

impl<'a> TryFromCtx<'a, Endian> for i64 where
    i64: FromCtx<Endian>, 
[src]

impl<'a, T> FromCtx<Endian, T> for i64 where
    T: AsRef<[u8]>, 
[src]

impl<'a, T> TryFromCtx<'a, Endian, T> for i64 where
    i64: FromCtx<Endian, T>,
    T: AsRef<[u8]>, 
[src]

impl<'a> FromCtx<Endian> for u128
[src]

impl<'a> TryFromCtx<'a, Endian> for u128 where
    u128: FromCtx<Endian>, 
[src]

impl<'a, T> FromCtx<Endian, T> for u128 where
    T: AsRef<[u8]>, 
[src]

impl<'a, T> TryFromCtx<'a, Endian, T> for u128 where
    u128: FromCtx<Endian, T>,
    T: AsRef<[u8]>, 
[src]

impl<'a> FromCtx<Endian> for i128
[src]

impl<'a> TryFromCtx<'a, Endian> for i128 where
    i128: FromCtx<Endian>, 
[src]

impl<'a, T> FromCtx<Endian, T> for i128 where
    T: AsRef<[u8]>, 
[src]

impl<'a, T> TryFromCtx<'a, Endian, T> for i128 where
    i128: FromCtx<Endian, T>,
    T: AsRef<[u8]>, 
[src]

impl<'a> FromCtx<Endian> for f32
[src]

impl<'a> TryFromCtx<'a, Endian> for f32 where
    f32: FromCtx<Endian>, 
[src]

impl<'a> FromCtx<Endian> for f64
[src]

impl<'a> TryFromCtx<'a, Endian> for f64 where
    f64: FromCtx<Endian>, 
[src]

impl IntoCtx<Endian> for u8
[src]

impl<'a> IntoCtx<Endian> for &'a u8
[src]

impl TryIntoCtx<Endian> for u8 where
    u8: IntoCtx<Endian>, 
[src]

impl<'a> TryIntoCtx<Endian> for &'a u8
[src]

impl IntoCtx<Endian> for i8
[src]

impl<'a> IntoCtx<Endian> for &'a i8
[src]

impl TryIntoCtx<Endian> for i8 where
    i8: IntoCtx<Endian>, 
[src]

impl<'a> TryIntoCtx<Endian> for &'a i8
[src]

impl IntoCtx<Endian> for u16
[src]

impl<'a> IntoCtx<Endian> for &'a u16
[src]

impl TryIntoCtx<Endian> for u16 where
    u16: IntoCtx<Endian>, 
[src]

impl<'a> TryIntoCtx<Endian> for &'a u16
[src]

impl IntoCtx<Endian> for i16
[src]

impl<'a> IntoCtx<Endian> for &'a i16
[src]

impl TryIntoCtx<Endian> for i16 where
    i16: IntoCtx<Endian>, 
[src]

impl<'a> TryIntoCtx<Endian> for &'a i16
[src]

impl IntoCtx<Endian> for u32
[src]

impl<'a> IntoCtx<Endian> for &'a u32
[src]

impl TryIntoCtx<Endian> for u32 where
    u32: IntoCtx<Endian>, 
[src]

impl<'a> TryIntoCtx<Endian> for &'a u32
[src]

impl IntoCtx<Endian> for i32
[src]

impl<'a> IntoCtx<Endian> for &'a i32
[src]

impl TryIntoCtx<Endian> for i32 where
    i32: IntoCtx<Endian>, 
[src]

impl<'a> TryIntoCtx<Endian> for &'a i32
[src]

impl IntoCtx<Endian> for u64
[src]

impl<'a> IntoCtx<Endian> for &'a u64
[src]

impl TryIntoCtx<Endian> for u64 where
    u64: IntoCtx<Endian>, 
[src]

impl<'a> TryIntoCtx<Endian> for &'a u64
[src]

impl IntoCtx<Endian> for i64
[src]

impl<'a> IntoCtx<Endian> for &'a i64
[src]

impl TryIntoCtx<Endian> for i64 where
    i64: IntoCtx<Endian>, 
[src]

impl<'a> TryIntoCtx<Endian> for &'a i64
[src]

impl IntoCtx<Endian> for u128
[src]

impl<'a> IntoCtx<Endian> for &'a u128
[src]

impl TryIntoCtx<Endian> for u128 where
    u128: IntoCtx<Endian>, 
[src]

impl<'a> TryIntoCtx<Endian> for &'a u128
[src]

impl IntoCtx<Endian> for i128
[src]

impl<'a> IntoCtx<Endian> for &'a i128
[src]

impl TryIntoCtx<Endian> for i128 where
    i128: IntoCtx<Endian>, 
[src]

impl<'a> TryIntoCtx<Endian> for &'a i128
[src]

impl IntoCtx<Endian> for f32
[src]

impl<'a> IntoCtx<Endian> for &'a f32
[src]

impl TryIntoCtx<Endian> for f32 where
    f32: IntoCtx<Endian>, 
[src]

impl<'a> TryIntoCtx<Endian> for &'a f32
[src]

impl IntoCtx<Endian> for f64
[src]

impl<'a> IntoCtx<Endian> for &'a f64
[src]

impl TryIntoCtx<Endian> for f64 where
    f64: IntoCtx<Endian>, 
[src]

impl<'a> TryIntoCtx<Endian> for &'a f64
[src]

impl SizeWith<Endian> for u8
[src]

impl SizeWith<Endian> for i8
[src]

impl SizeWith<Endian> for u16
[src]

impl SizeWith<Endian> for i16
[src]

impl SizeWith<Endian> for u32
[src]

impl SizeWith<Endian> for i32
[src]

impl SizeWith<Endian> for u64
[src]

impl SizeWith<Endian> for i64
[src]

impl SizeWith<Endian> for u128
[src]

impl SizeWith<Endian> for i128
[src]

impl SizeWith<Endian> for f32
[src]

impl SizeWith<Endian> for f64
[src]

impl SizeWith<Endian> for usize
[src]

impl SizeWith<Endian> for isize
[src]

impl FromCtx<Endian> for usize
[src]

impl<'a> TryFromCtx<'a, Endian> for usize where
    usize: FromCtx<Endian>, 
[src]

impl IntoCtx<Endian> for usize
[src]

impl TryIntoCtx<Endian> for usize where
    usize: IntoCtx<Endian>, 
[src]

impl PartialEq for Endian
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Endian
[src]

impl Copy for Endian
[src]

impl Debug for Endian
[src]

Formats the value using the given formatter. Read more

impl Clone for Endian
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Endian
[src]

Returns the "default value" for a type. Read more

impl From<bool> for Endian
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Endian

impl Sync for Endian