[−][src]Trait intercom_common::tyhandlers::TypeHandler
Defines Type-specific logic for handling the various parameter types in the Rust/COM interface.
Required methods
Loading content...Provided methods
fn com_ty(&self, _dir: Direction) -> Type
The COM type.
fn com_to_rust(&self, ident: &Ident, _dir: Direction) -> TypeConversion
Converts a COM parameter named by the ident into a Rust type.
fn rust_to_com(&self, ident: &Ident, _dir: Direction) -> TypeConversion
Converts a Rust parameter named by the ident into a COM type.
fn default_value(&self) -> TokenStream
Gets the default value for the type.