Struct gccjit::Type
[−]
[src]
pub struct Type<'ctx> { /* 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(self) -> Type<'ctx>
Given a type T, creates a type to *T, a pointer to T.
fn make_const(self) -> Type<'ctx>
Given a type T, creates a type of const T.
fn make_volatile(self) -> Type<'ctx>
Given a type T, creates a new type of volatile T, which has the semantics of C's volatile.
Trait Implementations
impl<'ctx> Copy for Type<'ctx>
[src]
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