Struct gccjit::Struct
[−]
[src]
pub struct Struct<'ctx> { /* fields omitted */ }
A Struct is gccjit's representation of a composite type. Despite the name, Struct can represent either a struct, an union, or an opaque named type.
Methods
impl<'ctx> Struct<'ctx>
[src]
fn as_type(&self) -> Type<'ctx>
fn set_fields(&self, location: Option<Location<'ctx>>, fields: &[Field<'ctx>])
Trait Implementations
impl<'ctx> Copy for Struct<'ctx>
[src]
impl<'ctx> Clone for Struct<'ctx>
[src]
fn clone(&self) -> Struct<'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