Trait scroll::ctx::FromCtx[][src]

pub trait FromCtx<Ctx: Copy = (), This: ?Sized = [u8]> {
    fn from_ctx(this: &This, ctx: Ctx) -> Self;
}
[]

Reads Self from This using the context Ctx; must not fail

Required methods

fn from_ctx(this: &This, ctx: Ctx) -> Self[src]

Implementations on Foreign Types

impl<'a> FromCtx<Endian, [u8]> for u8[src][]

impl<'a, T> FromCtx<Endian, T> for u8 where
    T: AsRef<[u8]>, 
[src][]

impl<'a> FromCtx<Endian, [u8]> for i8[src][]

impl<'a, T> FromCtx<Endian, T> for i8 where
    T: AsRef<[u8]>, 
[src][]

impl<'a> FromCtx<Endian, [u8]> for u16[src][]

impl<'a, T> FromCtx<Endian, T> for u16 where
    T: AsRef<[u8]>, 
[src][]

impl<'a> FromCtx<Endian, [u8]> for i16[src][]

impl<'a, T> FromCtx<Endian, T> for i16 where
    T: AsRef<[u8]>, 
[src][]

impl<'a> FromCtx<Endian, [u8]> for u32[src][]

impl<'a, T> FromCtx<Endian, T> for u32 where
    T: AsRef<[u8]>, 
[src][]

impl<'a> FromCtx<Endian, [u8]> for i32[src][]

impl<'a, T> FromCtx<Endian, T> for i32 where
    T: AsRef<[u8]>, 
[src][]

impl<'a> FromCtx<Endian, [u8]> for u64[src][]

impl<'a, T> FromCtx<Endian, T> for u64 where
    T: AsRef<[u8]>, 
[src][]

impl<'a> FromCtx<Endian, [u8]> for i64[src][]

impl<'a, T> FromCtx<Endian, T> for i64 where
    T: AsRef<[u8]>, 
[src][]

impl<'a> FromCtx<Endian, [u8]> for u128[src][]

impl<'a, T> FromCtx<Endian, T> for u128 where
    T: AsRef<[u8]>, 
[src][]

impl<'a> FromCtx<Endian, [u8]> for i128[src][]

impl<'a, T> FromCtx<Endian, T> for i128 where
    T: AsRef<[u8]>, 
[src][]

impl<'a> FromCtx<Endian, [u8]> for f32[src][]

impl<'a> FromCtx<Endian, [u8]> for f64[src][]

impl FromCtx<Endian, [u8]> for usize[src][]

Implementors

impl FromCtx<Endian, [u8]> for Nhdr32

impl FromCtx<Endian, [u8]> for Nhdr64

impl FromCtx<Endian, [u8]> for Section32

impl FromCtx<Endian, [u8]> for Section64

impl FromCtx<Endian, [u8]> for SegmentCommand32

impl FromCtx<Endian, [u8]> for SegmentCommand64

impl FromCtx<Endian, [u8]> for Fvmlib

impl FromCtx<Endian, [u8]> for FvmlibCommand

impl FromCtx<Endian, [u8]> for Dylib

impl FromCtx<Endian, [u8]> for DylibCommand

impl FromCtx<Endian, [u8]> for SubFrameworkCommand

impl FromCtx<Endian, [u8]> for SubClientCommand

impl FromCtx<Endian, [u8]> for SubUmbrellaCommand

impl FromCtx<Endian, [u8]> for SubLibraryCommand

impl FromCtx<Endian, [u8]> for PreboundDylibCommand

impl FromCtx<Endian, [u8]> for DylinkerCommand

impl FromCtx<Endian, [u8]> for RoutinesCommand32

impl FromCtx<Endian, [u8]> for RoutinesCommand64

impl FromCtx<Endian, [u8]> for SymtabCommand

impl FromCtx<Endian, [u8]> for DysymtabCommand

impl FromCtx<Endian, [u8]> for DylibTableOfContents

impl FromCtx<Endian, [u8]> for DylibModule

impl FromCtx<Endian, [u8]> for DylibModule64

impl FromCtx<Endian, [u8]> for DylibReference

impl FromCtx<Endian, [u8]> for TwolevelHintsCommand

impl FromCtx<Endian, [u8]> for TwolevelHint

impl FromCtx<Endian, [u8]> for PrebindCksumCommand

impl FromCtx<Endian, [u8]> for UuidCommand

impl FromCtx<Endian, [u8]> for RpathCommand

impl FromCtx<Endian, [u8]> for LinkeditDataCommand

impl FromCtx<Endian, [u8]> for EncryptionInfoCommand32

impl FromCtx<Endian, [u8]> for EncryptionInfoCommand64

impl FromCtx<Endian, [u8]> for VersionMinCommand

impl FromCtx<Endian, [u8]> for LinkerOptionCommand

impl FromCtx<Endian, [u8]> for SymsegCommand

impl FromCtx<Endian, [u8]> for IdentCommand

impl FromCtx<Endian, [u8]> for FvmfileCommand

impl FromCtx<Endian, [u8]> for EntryPointCommand

impl FromCtx<Endian, [u8]> for SourceVersionCommand

impl FromCtx<Endian, [u8]> for DataInCodeEntry

impl FromCtx<Endian, [u8]> for RelocationInfo

impl FromCtx<Endian, [u8]> for Nlist32

impl FromCtx<Endian, [u8]> for Nlist64

impl FromCtx<Endian, [u8]> for CoffHeader

impl FromCtx<Endian, [u8]> for Relocation

impl FromCtx<Endian, [u8]> for Symbol

impl FromCtx<Endian, [u8]> for AuxFunctionDefinition

impl FromCtx<Endian, [u8]> for AuxBeginAndEndFunction

impl FromCtx<Endian, [u8]> for AuxWeakExternal

impl FromCtx<Endian, [u8]> for AuxSectionDefinition