[][src]Trait molecule::prelude::Builder

pub trait Builder: Default {
    type Entity: Entity;

    const NAME: &'static str;

    fn expected_length(&self) -> usize;
fn write<W: Write>(&self, writer: &mut W) -> Result<()>;
fn build(&self) -> Self::Entity; }

Associated Types

type Entity: Entity

Loading content...

Associated Constants

const NAME: &'static str

Loading content...

Required methods

fn expected_length(&self) -> usize

fn write<W: Write>(&self, writer: &mut W) -> Result<()>

fn build(&self) -> Self::Entity

Loading content...

Implementors

Loading content...