Struct gccjit::Type
[−]
[src]
pub struct Type<'ctx> { // some fields omitted }
A representation of a type, as it is known to the JIT compiler. Types can be created through the Typeable trait or they can be created dynamically by composing Field types.
Methods
impl<'ctx> Type<'ctx>
[src]
fn make_pointer(&mut self)
Given a type T, changes the type to *T, a pointer to T.
fn make_const(&mut self)
Given a type T, changes the type to const T.
fn make_volatile(&mut self)
Given a type T, changes the type to volatile T, which has the semantics of C's volatile.
Trait Implementations
impl<'ctx> Clone for Type<'ctx>
[src]
fn clone(&self) -> Type<'ctx>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more