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: Endian
Implementations§
Trait Implementations§
source§impl<'a> TryFromCtx<'a, Ctx, [u8]> for CompressionHeader
impl<'a> TryFromCtx<'a, Ctx, [u8]> for CompressionHeader
source§impl<'a> TryFromCtx<'a, Ctx, [u8]> for ProgramHeader
impl<'a> TryFromCtx<'a, Ctx, [u8]> for ProgramHeader
source§impl<'a> TryFromCtx<'a, Ctx, [u8]> for SectionHeader
impl<'a> TryFromCtx<'a, Ctx, [u8]> for SectionHeader
source§impl TryIntoCtx<Ctx, [u8]> for CompressionHeader
impl TryIntoCtx<Ctx, [u8]> for CompressionHeader
source§impl TryIntoCtx<Ctx, [u8]> for ProgramHeader
impl TryIntoCtx<Ctx, [u8]> for ProgramHeader
source§impl TryIntoCtx<Ctx, [u8]> for SectionHeader
impl TryIntoCtx<Ctx, [u8]> for SectionHeader
impl Copy for Ctx
impl StructuralPartialEq for Ctx
Auto Trait Implementations§
impl RefUnwindSafe for Ctx
impl Send for Ctx
impl Sync for Ctx
impl Unpin 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