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