Struct goblin::container::Ctx []

pub struct Ctx {
    pub container: Container,
    pub le: Endian,
}

A binary parsing context, including the container size and underlying byte endianness

Fields

Methods

impl Ctx
[src]

Whether this binary container context is "big" or not

Whether this binary container context is little endian or not

Create a new binary container context

Return a dubious pointer/address byte size for the container

Trait Implementations

impl Debug for Ctx
[src]

Formats the value using the given formatter.

impl Copy for Ctx
[src]

impl Clone for Ctx
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Ctx
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<Container> for Ctx
[src]

Performs the conversion.

impl From<Endian> for Ctx
[src]

Performs the conversion.

impl Default for Ctx
[src]

Returns the "default value" for a type. Read more