Trait capnpc::codegen_types::RustTypeInfo
[−]
[src]
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>
&self,
gen: &GeneratorContext,
module: Leaf
) -> Result<String, Error>
Implementors
impl<'a> RustTypeInfo for Reader<'a>