pub struct Struct<'ctx> { /* private fields */ }
Expand description
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.
Implementations§
Trait Implementations§
source§impl<'ctx> PartialEq for Struct<'ctx>
impl<'ctx> PartialEq for Struct<'ctx>
impl<'ctx> Copy for Struct<'ctx>
impl<'ctx> Eq for Struct<'ctx>
impl<'ctx> StructuralPartialEq for Struct<'ctx>
Auto Trait Implementations§
impl<'ctx> RefUnwindSafe for Struct<'ctx>
impl<'ctx> !Send for Struct<'ctx>
impl<'ctx> !Sync for Struct<'ctx>
impl<'ctx> Unpin for Struct<'ctx>
impl<'ctx> UnwindSafe for Struct<'ctx>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more