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§
impl Copy for Ctx
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.impl StructuralPartialEq for Ctx
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 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 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<'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 Section
impl<'a> TryFromCtx<'a, Ctx> for Section
Source§impl<'a> TryFromCtx<'a, Ctx> for Nlist
impl<'a> TryFromCtx<'a, Ctx> for Nlist
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 ProgramHeader
Available on crate feature alloc only.
impl TryIntoCtx<Ctx> for ProgramHeader
Available on crate feature
alloc only.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 TryIntoCtx<Ctx> for Sym
Available on crate feature alloc only.
impl TryIntoCtx<Ctx> for Sym
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 Section
impl TryIntoCtx<Ctx> for Section
Source§impl<'a> TryIntoCtx<Ctx> for Segment<'a>
impl<'a> TryIntoCtx<Ctx> for Segment<'a>
Auto Trait Implementations§
impl Freeze for Ctx
impl RefUnwindSafe for Ctx
impl Send for Ctx
impl Sync for Ctx
impl Unpin for Ctx
impl UnsafeUnpin for Ctx
impl UnwindSafe for Ctx
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more