pub trait WithRustType {
// Required method
fn rust_type(&self) -> &RustType;
// Provided method
fn write_rust_type(&self, b: &mut CodeBuffer) { ... }
}Expand description
An element with a Rust type.
Required Methods§
Provided Methods§
Sourcefn write_rust_type(&self, b: &mut CodeBuffer)
fn write_rust_type(&self, b: &mut CodeBuffer)
Writes the Rust type.