[−][src]Trait scroll::ctx::TryIntoCtx
Tries to write Self
into This
using the context Ctx
Associated Types
Loading content...Required methods
fn try_into_ctx(self, _: &mut This, ctx: Ctx) -> Result<Self::Size, Self::Error>
Implementations on Foreign Types
impl TryIntoCtx<Endian, [u8]> for u8 where
u8: IntoCtx<Endian>,
[src]
u8: IntoCtx<Endian>,
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
impl<'a> TryIntoCtx<Endian, [u8]> for &'a u8
[src]
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
impl TryIntoCtx<Endian, [u8]> for i8 where
i8: IntoCtx<Endian>,
[src]
i8: IntoCtx<Endian>,
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
impl<'a> TryIntoCtx<Endian, [u8]> for &'a i8
[src]
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
impl TryIntoCtx<Endian, [u8]> for u16 where
u16: IntoCtx<Endian>,
[src]
u16: IntoCtx<Endian>,
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
impl<'a> TryIntoCtx<Endian, [u8]> for &'a u16
[src]
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
impl TryIntoCtx<Endian, [u8]> for i16 where
i16: IntoCtx<Endian>,
[src]
i16: IntoCtx<Endian>,
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
impl<'a> TryIntoCtx<Endian, [u8]> for &'a i16
[src]
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
impl TryIntoCtx<Endian, [u8]> for u32 where
u32: IntoCtx<Endian>,
[src]
u32: IntoCtx<Endian>,
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
impl<'a> TryIntoCtx<Endian, [u8]> for &'a u32
[src]
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
impl TryIntoCtx<Endian, [u8]> for i32 where
i32: IntoCtx<Endian>,
[src]
i32: IntoCtx<Endian>,
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
impl<'a> TryIntoCtx<Endian, [u8]> for &'a i32
[src]
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
impl TryIntoCtx<Endian, [u8]> for u64 where
u64: IntoCtx<Endian>,
[src]
u64: IntoCtx<Endian>,
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
impl<'a> TryIntoCtx<Endian, [u8]> for &'a u64
[src]
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
impl TryIntoCtx<Endian, [u8]> for i64 where
i64: IntoCtx<Endian>,
[src]
i64: IntoCtx<Endian>,
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
impl<'a> TryIntoCtx<Endian, [u8]> for &'a i64
[src]
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
impl TryIntoCtx<Endian, [u8]> for u128 where
u128: IntoCtx<Endian>,
[src]
u128: IntoCtx<Endian>,
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
impl<'a> TryIntoCtx<Endian, [u8]> for &'a u128
[src]
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
impl TryIntoCtx<Endian, [u8]> for i128 where
i128: IntoCtx<Endian>,
[src]
i128: IntoCtx<Endian>,
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
impl<'a> TryIntoCtx<Endian, [u8]> for &'a i128
[src]
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
impl TryIntoCtx<Endian, [u8]> for f32 where
f32: IntoCtx<Endian>,
[src]
f32: IntoCtx<Endian>,
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
impl<'a> TryIntoCtx<Endian, [u8]> for &'a f32
[src]
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
impl TryIntoCtx<Endian, [u8]> for f64 where
f64: IntoCtx<Endian>,
[src]
f64: IntoCtx<Endian>,
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
impl<'a> TryIntoCtx<Endian, [u8]> for &'a f64
[src]
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], le: Endian) -> Result<Self::Size>
[src]
impl<'a> TryIntoCtx<(), [u8]> for &'a [u8]
[src]
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], _ctx: ()) -> Result<Self::Size>
[src]
impl<'a> TryIntoCtx<(), [u8]> for &'a str
[src]
type Error = Error
type Size = usize
fn try_into_ctx(self, dst: &mut [u8], ctx: ()) -> Result<Self::Size>
[src]
impl TryIntoCtx<Endian, [u8]> for usize where
usize: IntoCtx<Endian>,
[src]
usize: IntoCtx<Endian>,