Trait scroll::ctx::TryIntoCtx
[−]
[src]
pub trait TryIntoCtx<Ctx: Copy = (), This: ?Sized = [u8]>: Sized { type Error; type Size; fn try_into_ctx(
self,
_: &mut This,
ctx: Ctx
) -> Result<Self::Size, Self::Error>; }
Tries to write Self
into This
using the context Ctx
Associated Types
Required Methods
fn try_into_ctx(self, _: &mut This, ctx: Ctx) -> Result<Self::Size, Self::Error>
Implementors
impl TryIntoCtx<Endian> for u8 where
u8: IntoCtx<Endian>,impl TryIntoCtx<Endian> for i8 where
i8: IntoCtx<Endian>,impl TryIntoCtx<Endian> for u16 where
u16: IntoCtx<Endian>,impl TryIntoCtx<Endian> for i16 where
i16: IntoCtx<Endian>,impl TryIntoCtx<Endian> for u32 where
u32: IntoCtx<Endian>,impl TryIntoCtx<Endian> for i32 where
i32: IntoCtx<Endian>,impl TryIntoCtx<Endian> for u64 where
u64: IntoCtx<Endian>,impl TryIntoCtx<Endian> for i64 where
i64: IntoCtx<Endian>,impl TryIntoCtx<Endian> for f32 where
f32: IntoCtx<Endian>,impl TryIntoCtx<Endian> for f64 where
f64: IntoCtx<Endian>,impl<'a> TryIntoCtx for &'a [u8]
impl<'a> TryIntoCtx for &'a str
impl TryIntoCtx<Endian> for usize where
usize: IntoCtx<Endian>,