Trait gccjit::Typeable
[−]
[src]
pub trait Typeable { fn get_type<'a, 'ctx>(_: &'a Context<'ctx>) -> Type<'a>; }
Typeable is a trait for types that have a corresponding type within gccjit. This library implements this type for a variety of primitive types, but it's also possible to implement this trait for more complex types that will use the API on Context to construct analagous struct/union types.
Required Methods
Implementors
impl Typeable for ()
impl Typeable for bool
impl Typeable for char
impl Typeable for i8
impl Typeable for u8
impl Typeable for i16
impl Typeable for u16
impl Typeable for i32
impl Typeable for u32
impl Typeable for i64
impl Typeable for u64
impl Typeable for f32
impl Typeable for f64
impl Typeable for usize
impl<T> Typeable for *mut T
impl<T> Typeable for *const T