pub struct Ctx {
pub container: Container,
pub le: Endian,
}Expand description
A binary parsing context, including the container size and underlying byte endianness
Fields§
§container: Container§le: EndianImplementations§
Trait Implementations§
Source§impl IntoCtx<Ctx> for CompressionHeader
Available on crate feature alloc only.
impl IntoCtx<Ctx> for CompressionHeader
Available on crate feature
alloc only.Source§impl IntoCtx<Ctx> for SectionHeader
Available on crate feature alloc only.
impl IntoCtx<Ctx> for SectionHeader
Available on crate feature
alloc only.Source§impl SizeWith<Ctx> for CompressionHeader
Available on crate feature alloc only.
impl SizeWith<Ctx> for CompressionHeader
Available on crate feature
alloc only.Source§impl SizeWith<Ctx> for ProgramHeader
Available on crate feature alloc only.
impl SizeWith<Ctx> for ProgramHeader
Available on crate feature
alloc only.Source§impl SizeWith<Ctx> for SectionHeader
Available on crate feature alloc only.
impl SizeWith<Ctx> for SectionHeader
Available on crate feature
alloc only.Source§impl<'a> TryFromCtx<'a, Ctx> for CompressionHeader
Available on crate feature alloc only.
impl<'a> TryFromCtx<'a, Ctx> for CompressionHeader
Available on crate feature
alloc only.Source§impl<'a> TryFromCtx<'a, Ctx> for Dyn
Available on crate feature alloc only.
impl<'a> TryFromCtx<'a, Ctx> for Dyn
Available on crate feature
alloc only.Source§impl<'a> TryFromCtx<'a, Ctx> for Header
impl<'a> TryFromCtx<'a, Ctx> for Header
Source§impl<'a> TryFromCtx<'a, Ctx> for Nlist
impl<'a> TryFromCtx<'a, Ctx> for Nlist
Source§impl<'a> TryFromCtx<'a, Ctx> for ProgramHeader
Available on crate feature alloc only.
impl<'a> TryFromCtx<'a, Ctx> for ProgramHeader
Available on crate feature
alloc only.Source§impl<'a> TryFromCtx<'a, Ctx> for Section
impl<'a> TryFromCtx<'a, Ctx> for Section
Source§impl<'a> TryFromCtx<'a, Ctx> for SectionHeader
Available on crate feature alloc only.
impl<'a> TryFromCtx<'a, Ctx> for SectionHeader
Available on crate feature
alloc only.Source§impl<'a> TryFromCtx<'a, Ctx> for Sym
Available on crate feature alloc only.
impl<'a> TryFromCtx<'a, Ctx> for Sym
Available on crate feature
alloc only.Source§impl TryIntoCtx<Ctx> for CompressionHeader
Available on crate feature alloc only.
impl TryIntoCtx<Ctx> for CompressionHeader
Available on crate feature
alloc only.Source§impl TryIntoCtx<Ctx> for Dyn
Available on crate feature alloc only.
impl TryIntoCtx<Ctx> for Dyn
Available on crate feature
alloc only.Source§impl TryIntoCtx<Ctx> for Header
impl TryIntoCtx<Ctx> for Header
Source§impl TryIntoCtx<Ctx> for Nlist
impl TryIntoCtx<Ctx> for Nlist
Source§impl TryIntoCtx<Ctx> for ProgramHeader
Available on crate feature alloc only.
impl TryIntoCtx<Ctx> for ProgramHeader
Available on crate feature
alloc only.Source§impl TryIntoCtx<Ctx> for Section
impl TryIntoCtx<Ctx> for Section
Source§impl TryIntoCtx<Ctx> for SectionHeader
Available on crate feature alloc only.
impl TryIntoCtx<Ctx> for SectionHeader
Available on crate feature
alloc only.Source§impl<'a> TryIntoCtx<Ctx> for Segment<'a>
impl<'a> TryIntoCtx<Ctx> for Segment<'a>
Source§impl TryIntoCtx<Ctx> for Sym
Available on crate feature alloc only.
impl TryIntoCtx<Ctx> for Sym
Available on crate feature
alloc only.impl Copy for Ctx
impl StructuralPartialEq for Ctx
Auto Trait Implementations§
impl Freeze for Ctx
impl RefUnwindSafe for Ctx
impl Send for Ctx
impl Sync for Ctx
impl Unpin for Ctx
impl UnwindSafe for Ctx
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)