Struct beam_file::chunk::AtomChunk
[−]
[src]
pub struct AtomChunk { pub atoms: Vec<Atom>, }
A representation of the "Atom" chunk.
Fields
atoms: Vec<Atom>
The list of atoms contained in a BEAM file.
Trait Implementations
impl Debug for AtomChunk
[src]
impl PartialEq for AtomChunk
[src]
fn eq(&self, __arg_0: &AtomChunk) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AtomChunk) -> bool
This method tests for !=
.
impl Eq for AtomChunk
[src]
impl Chunk for AtomChunk
[src]
fn id(&self) -> &Id
Returns the identifier of the chunk.
fn decode_data<R: Read>(id: &Id, reader: R) -> Result<Self> where
Self: Sized,
Self: Sized,
Reads a chunk which has the identifier id
from reader
. Read more
fn encode_data<W: Write>(&self, writer: W) -> Result<()>
Writes the data of the chunk to writer
. Read more
fn decode<R: Read>(reader: R) -> Result<Self> where
Self: Sized,
Self: Sized,
Reads a chunk from reader
.
fn encode<W: Write>(&self, writer: W) -> Result<()>
Writes the chunk to writer
.