Trait libbindgen::chooser::TypeChooser
[−]
[src]
pub trait TypeChooser: Debug { fn int_macro(&self, _name: &str, _value: i64) -> Option<IntKind> { ... } }
A trait to allow configuring different kinds of types in different situations.
Provided Methods
fn int_macro(&self, _name: &str, _value: i64) -> Option<IntKind>
The integer kind an integer macro should have, given a name and the
value of that macro, or None
if you want the default to be chosen.