Enum scroll::Endian [−][src]
pub enum Endian { Little, Big, }
The endianness (byte order) of a stream of bytes
Variants
Little
Big
Methods
impl Endian
[src]
impl Endian
Trait Implementations
impl<'a> FromCtx<Endian> for u8
[src]
impl<'a> FromCtx<Endian> for u8
impl<'a> TryFromCtx<'a, Endian> for u8 where
u8: FromCtx<Endian>,
[src]
impl<'a> TryFromCtx<'a, Endian> for u8 where
u8: FromCtx<Endian>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl<'a, T> FromCtx<Endian, T> for u8 where
T: AsRef<[u8]>,
[src]
impl<'a, T> FromCtx<Endian, T> for u8 where
T: AsRef<[u8]>,
impl<'a, T> TryFromCtx<'a, Endian, T> for u8 where
u8: FromCtx<Endian, T>,
T: AsRef<[u8]>,
[src]
impl<'a, T> TryFromCtx<'a, Endian, T> for u8 where
u8: FromCtx<Endian, T>,
T: AsRef<[u8]>,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl<'a> FromCtx<Endian> for i8
[src]
impl<'a> FromCtx<Endian> for i8
impl<'a> TryFromCtx<'a, Endian> for i8 where
i8: FromCtx<Endian>,
[src]
impl<'a> TryFromCtx<'a, Endian> for i8 where
i8: FromCtx<Endian>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl<'a, T> FromCtx<Endian, T> for i8 where
T: AsRef<[u8]>,
[src]
impl<'a, T> FromCtx<Endian, T> for i8 where
T: AsRef<[u8]>,
impl<'a, T> TryFromCtx<'a, Endian, T> for i8 where
i8: FromCtx<Endian, T>,
T: AsRef<[u8]>,
[src]
impl<'a, T> TryFromCtx<'a, Endian, T> for i8 where
i8: FromCtx<Endian, T>,
T: AsRef<[u8]>,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl<'a> FromCtx<Endian> for u16
[src]
impl<'a> FromCtx<Endian> for u16
impl<'a> TryFromCtx<'a, Endian> for u16 where
u16: FromCtx<Endian>,
[src]
impl<'a> TryFromCtx<'a, Endian> for u16 where
u16: FromCtx<Endian>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl<'a, T> FromCtx<Endian, T> for u16 where
T: AsRef<[u8]>,
[src]
impl<'a, T> FromCtx<Endian, T> for u16 where
T: AsRef<[u8]>,
impl<'a, T> TryFromCtx<'a, Endian, T> for u16 where
u16: FromCtx<Endian, T>,
T: AsRef<[u8]>,
[src]
impl<'a, T> TryFromCtx<'a, Endian, T> for u16 where
u16: FromCtx<Endian, T>,
T: AsRef<[u8]>,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl<'a> FromCtx<Endian> for i16
[src]
impl<'a> FromCtx<Endian> for i16
impl<'a> TryFromCtx<'a, Endian> for i16 where
i16: FromCtx<Endian>,
[src]
impl<'a> TryFromCtx<'a, Endian> for i16 where
i16: FromCtx<Endian>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl<'a, T> FromCtx<Endian, T> for i16 where
T: AsRef<[u8]>,
[src]
impl<'a, T> FromCtx<Endian, T> for i16 where
T: AsRef<[u8]>,
impl<'a, T> TryFromCtx<'a, Endian, T> for i16 where
i16: FromCtx<Endian, T>,
T: AsRef<[u8]>,
[src]
impl<'a, T> TryFromCtx<'a, Endian, T> for i16 where
i16: FromCtx<Endian, T>,
T: AsRef<[u8]>,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl<'a> FromCtx<Endian> for u32
[src]
impl<'a> FromCtx<Endian> for u32
impl<'a> TryFromCtx<'a, Endian> for u32 where
u32: FromCtx<Endian>,
[src]
impl<'a> TryFromCtx<'a, Endian> for u32 where
u32: FromCtx<Endian>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl<'a, T> FromCtx<Endian, T> for u32 where
T: AsRef<[u8]>,
[src]
impl<'a, T> FromCtx<Endian, T> for u32 where
T: AsRef<[u8]>,
impl<'a, T> TryFromCtx<'a, Endian, T> for u32 where
u32: FromCtx<Endian, T>,
T: AsRef<[u8]>,
[src]
impl<'a, T> TryFromCtx<'a, Endian, T> for u32 where
u32: FromCtx<Endian, T>,
T: AsRef<[u8]>,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl<'a> FromCtx<Endian> for i32
[src]
impl<'a> FromCtx<Endian> for i32
impl<'a> TryFromCtx<'a, Endian> for i32 where
i32: FromCtx<Endian>,
[src]
impl<'a> TryFromCtx<'a, Endian> for i32 where
i32: FromCtx<Endian>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl<'a, T> FromCtx<Endian, T> for i32 where
T: AsRef<[u8]>,
[src]
impl<'a, T> FromCtx<Endian, T> for i32 where
T: AsRef<[u8]>,
impl<'a, T> TryFromCtx<'a, Endian, T> for i32 where
i32: FromCtx<Endian, T>,
T: AsRef<[u8]>,
[src]
impl<'a, T> TryFromCtx<'a, Endian, T> for i32 where
i32: FromCtx<Endian, T>,
T: AsRef<[u8]>,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl<'a> FromCtx<Endian> for u64
[src]
impl<'a> FromCtx<Endian> for u64
impl<'a> TryFromCtx<'a, Endian> for u64 where
u64: FromCtx<Endian>,
[src]
impl<'a> TryFromCtx<'a, Endian> for u64 where
u64: FromCtx<Endian>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl<'a, T> FromCtx<Endian, T> for u64 where
T: AsRef<[u8]>,
[src]
impl<'a, T> FromCtx<Endian, T> for u64 where
T: AsRef<[u8]>,
impl<'a, T> TryFromCtx<'a, Endian, T> for u64 where
u64: FromCtx<Endian, T>,
T: AsRef<[u8]>,
[src]
impl<'a, T> TryFromCtx<'a, Endian, T> for u64 where
u64: FromCtx<Endian, T>,
T: AsRef<[u8]>,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl<'a> FromCtx<Endian> for i64
[src]
impl<'a> FromCtx<Endian> for i64
impl<'a> TryFromCtx<'a, Endian> for i64 where
i64: FromCtx<Endian>,
[src]
impl<'a> TryFromCtx<'a, Endian> for i64 where
i64: FromCtx<Endian>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl<'a, T> FromCtx<Endian, T> for i64 where
T: AsRef<[u8]>,
[src]
impl<'a, T> FromCtx<Endian, T> for i64 where
T: AsRef<[u8]>,
impl<'a, T> TryFromCtx<'a, Endian, T> for i64 where
i64: FromCtx<Endian, T>,
T: AsRef<[u8]>,
[src]
impl<'a, T> TryFromCtx<'a, Endian, T> for i64 where
i64: FromCtx<Endian, T>,
T: AsRef<[u8]>,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl<'a> FromCtx<Endian> for u128
[src]
impl<'a> FromCtx<Endian> for u128
impl<'a> TryFromCtx<'a, Endian> for u128 where
u128: FromCtx<Endian>,
[src]
impl<'a> TryFromCtx<'a, Endian> for u128 where
u128: FromCtx<Endian>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl<'a, T> FromCtx<Endian, T> for u128 where
T: AsRef<[u8]>,
[src]
impl<'a, T> FromCtx<Endian, T> for u128 where
T: AsRef<[u8]>,
impl<'a, T> TryFromCtx<'a, Endian, T> for u128 where
u128: FromCtx<Endian, T>,
T: AsRef<[u8]>,
[src]
impl<'a, T> TryFromCtx<'a, Endian, T> for u128 where
u128: FromCtx<Endian, T>,
T: AsRef<[u8]>,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl<'a> FromCtx<Endian> for i128
[src]
impl<'a> FromCtx<Endian> for i128
impl<'a> TryFromCtx<'a, Endian> for i128 where
i128: FromCtx<Endian>,
[src]
impl<'a> TryFromCtx<'a, Endian> for i128 where
i128: FromCtx<Endian>,
type Error = Error<usize>
type Size = usize
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl<'a, T> FromCtx<Endian, T> for i128 where
T: AsRef<[u8]>,
[src]
impl<'a, T> FromCtx<Endian, T> for i128 where
T: AsRef<[u8]>,
impl<'a, T> TryFromCtx<'a, Endian, T> for i128 where
i128: FromCtx<Endian, T>,
T: AsRef<[u8]>,
[src]
impl<'a, T> TryFromCtx<'a, Endian, T> for i128 where
i128: FromCtx<Endian, T>,
T: AsRef<[u8]>,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
fn try_from_ctx(
src: &'a T,
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl<'a> FromCtx<Endian> for f32
[src]
impl<'a> FromCtx<Endian> for f32
impl<'a> TryFromCtx<'a, Endian> for f32 where
f32: FromCtx<Endian>,
[src]
impl<'a> TryFromCtx<'a, Endian> for f32 where
f32: FromCtx<Endian>,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl<'a> FromCtx<Endian> for f64
[src]
impl<'a> FromCtx<Endian> for f64
impl<'a> TryFromCtx<'a, Endian> for f64 where
f64: FromCtx<Endian>,
[src]
impl<'a> TryFromCtx<'a, Endian> for f64 where
f64: FromCtx<Endian>,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl IntoCtx<Endian> for u8
[src]
impl IntoCtx<Endian> for u8
impl<'a> IntoCtx<Endian> for &'a u8
[src]
impl<'a> IntoCtx<Endian> for &'a u8
impl TryIntoCtx<Endian> for u8 where
u8: IntoCtx<Endian>,
[src]
impl TryIntoCtx<Endian> for u8 where
u8: IntoCtx<Endian>,
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
impl<'a> TryIntoCtx<Endian> for &'a u8
[src]
impl<'a> TryIntoCtx<Endian> for &'a u8
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
impl IntoCtx<Endian> for i8
[src]
impl IntoCtx<Endian> for i8
impl<'a> IntoCtx<Endian> for &'a i8
[src]
impl<'a> IntoCtx<Endian> for &'a i8
impl TryIntoCtx<Endian> for i8 where
i8: IntoCtx<Endian>,
[src]
impl TryIntoCtx<Endian> for i8 where
i8: IntoCtx<Endian>,
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
impl<'a> TryIntoCtx<Endian> for &'a i8
[src]
impl<'a> TryIntoCtx<Endian> for &'a i8
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
impl IntoCtx<Endian> for u16
[src]
impl IntoCtx<Endian> for u16
impl<'a> IntoCtx<Endian> for &'a u16
[src]
impl<'a> IntoCtx<Endian> for &'a u16
impl TryIntoCtx<Endian> for u16 where
u16: IntoCtx<Endian>,
[src]
impl TryIntoCtx<Endian> for u16 where
u16: IntoCtx<Endian>,
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
impl<'a> TryIntoCtx<Endian> for &'a u16
[src]
impl<'a> TryIntoCtx<Endian> for &'a u16
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
impl IntoCtx<Endian> for i16
[src]
impl IntoCtx<Endian> for i16
impl<'a> IntoCtx<Endian> for &'a i16
[src]
impl<'a> IntoCtx<Endian> for &'a i16
impl TryIntoCtx<Endian> for i16 where
i16: IntoCtx<Endian>,
[src]
impl TryIntoCtx<Endian> for i16 where
i16: IntoCtx<Endian>,
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
impl<'a> TryIntoCtx<Endian> for &'a i16
[src]
impl<'a> TryIntoCtx<Endian> for &'a i16
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
impl IntoCtx<Endian> for u32
[src]
impl IntoCtx<Endian> for u32
impl<'a> IntoCtx<Endian> for &'a u32
[src]
impl<'a> IntoCtx<Endian> for &'a u32
impl TryIntoCtx<Endian> for u32 where
u32: IntoCtx<Endian>,
[src]
impl TryIntoCtx<Endian> for u32 where
u32: IntoCtx<Endian>,
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
impl<'a> TryIntoCtx<Endian> for &'a u32
[src]
impl<'a> TryIntoCtx<Endian> for &'a u32
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
impl IntoCtx<Endian> for i32
[src]
impl IntoCtx<Endian> for i32
impl<'a> IntoCtx<Endian> for &'a i32
[src]
impl<'a> IntoCtx<Endian> for &'a i32
impl TryIntoCtx<Endian> for i32 where
i32: IntoCtx<Endian>,
[src]
impl TryIntoCtx<Endian> for i32 where
i32: IntoCtx<Endian>,
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
impl<'a> TryIntoCtx<Endian> for &'a i32
[src]
impl<'a> TryIntoCtx<Endian> for &'a i32
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
impl IntoCtx<Endian> for u64
[src]
impl IntoCtx<Endian> for u64
impl<'a> IntoCtx<Endian> for &'a u64
[src]
impl<'a> IntoCtx<Endian> for &'a u64
impl TryIntoCtx<Endian> for u64 where
u64: IntoCtx<Endian>,
[src]
impl TryIntoCtx<Endian> for u64 where
u64: IntoCtx<Endian>,
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
impl<'a> TryIntoCtx<Endian> for &'a u64
[src]
impl<'a> TryIntoCtx<Endian> for &'a u64
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
impl IntoCtx<Endian> for i64
[src]
impl IntoCtx<Endian> for i64
impl<'a> IntoCtx<Endian> for &'a i64
[src]
impl<'a> IntoCtx<Endian> for &'a i64
impl TryIntoCtx<Endian> for i64 where
i64: IntoCtx<Endian>,
[src]
impl TryIntoCtx<Endian> for i64 where
i64: IntoCtx<Endian>,
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
impl<'a> TryIntoCtx<Endian> for &'a i64
[src]
impl<'a> TryIntoCtx<Endian> for &'a i64
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
impl IntoCtx<Endian> for u128
[src]
impl IntoCtx<Endian> for u128
impl<'a> IntoCtx<Endian> for &'a u128
[src]
impl<'a> IntoCtx<Endian> for &'a u128
impl TryIntoCtx<Endian> for u128 where
u128: IntoCtx<Endian>,
[src]
impl TryIntoCtx<Endian> for u128 where
u128: IntoCtx<Endian>,
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
impl<'a> TryIntoCtx<Endian> for &'a u128
[src]
impl<'a> TryIntoCtx<Endian> for &'a u128
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
impl IntoCtx<Endian> for i128
[src]
impl IntoCtx<Endian> for i128
impl<'a> IntoCtx<Endian> for &'a i128
[src]
impl<'a> IntoCtx<Endian> for &'a i128
impl TryIntoCtx<Endian> for i128 where
i128: IntoCtx<Endian>,
[src]
impl TryIntoCtx<Endian> for i128 where
i128: IntoCtx<Endian>,
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
impl<'a> TryIntoCtx<Endian> for &'a i128
[src]
impl<'a> TryIntoCtx<Endian> for &'a i128
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
impl IntoCtx<Endian> for f32
[src]
impl IntoCtx<Endian> for f32
impl<'a> IntoCtx<Endian> for &'a f32
[src]
impl<'a> IntoCtx<Endian> for &'a f32
impl TryIntoCtx<Endian> for f32 where
f32: IntoCtx<Endian>,
[src]
impl TryIntoCtx<Endian> for f32 where
f32: IntoCtx<Endian>,
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
impl<'a> TryIntoCtx<Endian> for &'a f32
[src]
impl<'a> TryIntoCtx<Endian> for &'a f32
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
impl IntoCtx<Endian> for f64
[src]
impl IntoCtx<Endian> for f64
impl<'a> IntoCtx<Endian> for &'a f64
[src]
impl<'a> IntoCtx<Endian> for &'a f64
impl TryIntoCtx<Endian> for f64 where
f64: IntoCtx<Endian>,
[src]
impl TryIntoCtx<Endian> for f64 where
f64: IntoCtx<Endian>,
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
impl<'a> TryIntoCtx<Endian> for &'a f64
[src]
impl<'a> TryIntoCtx<Endian> for &'a f64
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
impl SizeWith<Endian> for u8
[src]
impl SizeWith<Endian> for u8
impl SizeWith<Endian> for i8
[src]
impl SizeWith<Endian> for i8
impl SizeWith<Endian> for u16
[src]
impl SizeWith<Endian> for u16
impl SizeWith<Endian> for i16
[src]
impl SizeWith<Endian> for i16
impl SizeWith<Endian> for u32
[src]
impl SizeWith<Endian> for u32
impl SizeWith<Endian> for i32
[src]
impl SizeWith<Endian> for i32
impl SizeWith<Endian> for u64
[src]
impl SizeWith<Endian> for u64
impl SizeWith<Endian> for i64
[src]
impl SizeWith<Endian> for i64
impl SizeWith<Endian> for u128
[src]
impl SizeWith<Endian> for u128
impl SizeWith<Endian> for i128
[src]
impl SizeWith<Endian> for i128
impl SizeWith<Endian> for f32
[src]
impl SizeWith<Endian> for f32
impl SizeWith<Endian> for f64
[src]
impl SizeWith<Endian> for f64
impl SizeWith<Endian> for usize
[src]
impl SizeWith<Endian> for usize
impl SizeWith<Endian> for isize
[src]
impl SizeWith<Endian> for isize
impl FromCtx<Endian> for usize
[src]
impl FromCtx<Endian> for usize
impl<'a> TryFromCtx<'a, Endian> for usize where
usize: FromCtx<Endian>,
[src]
impl<'a> TryFromCtx<'a, Endian> for usize where
usize: FromCtx<Endian>,
type Error = Error
type Size = usize
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
[src]
fn try_from_ctx(
src: &'a [u8],
le: Endian
) -> Result<(Self, Self::Size), Self::Error>
impl IntoCtx<Endian> for usize
[src]
impl IntoCtx<Endian> for usize
impl TryIntoCtx<Endian> for usize where
usize: IntoCtx<Endian>,
[src]
impl TryIntoCtx<Endian> for usize where
usize: IntoCtx<Endian>,
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
impl PartialEq for Endian
[src]
impl PartialEq for Endian
fn eq(&self, other: &Endian) -> bool
[src]
fn eq(&self, other: &Endian) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Endian
[src]
impl Eq for Endian
impl Copy for Endian
[src]
impl Copy for Endian
impl Debug for Endian
[src]
impl Debug for Endian
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Endian
[src]
impl Clone for Endian
fn clone(&self) -> Endian
[src]
fn clone(&self) -> Endian
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for Endian
[src]
impl Default for Endian
impl From<bool> for Endian
[src]
impl From<bool> for Endian