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

Implementations on Foreign Types

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

impl<'a> TryIntoCtx for &'a str
[src]

[src]

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

[src]

Implementors