Struct beam_file::chunk::LitTChunk
[−]
[src]
pub struct LitTChunk {
pub literals: Vec<ExternalTermFormatBinary>,
}A representation of the "LitT" chunk.
Fields
literals: Vec<ExternalTermFormatBinary>
The list of literal terms.
Each term is encoded in the External Term Format.
Trait Implementations
impl Debug for LitTChunk[src]
impl PartialEq for LitTChunk[src]
fn eq(&self, __arg_0: &LitTChunk) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &LitTChunk) -> bool
This method tests for !=.
impl Eq for LitTChunk[src]
impl Chunk for LitTChunk[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.