[][src]Trait capnpc::codegen_types::RustTypeInfo

pub trait RustTypeInfo {
    fn is_prim(&self) -> Result<bool, Error>;
fn is_parameter(&self) -> Result<bool, Error>;
fn is_branded(&self) -> Result<bool, Error>;
fn type_string(
        &self,
        gen: &GeneratorContext,
        module: Leaf
    ) -> Result<String, Error>; }

Required methods

fn is_prim(&self) -> Result<bool, Error>

fn is_parameter(&self) -> Result<bool, Error>

fn is_branded(&self) -> Result<bool, Error>

fn type_string(
    &self,
    gen: &GeneratorContext,
    module: Leaf
) -> Result<String, Error>

Loading content...

Implementors

impl<'a> RustTypeInfo for Reader<'a>[src]

Loading content...