pub struct Struct { /* private fields */ }
Implementations§
Source§impl Struct
impl Struct
pub fn new_with_name(ctx: LLVMContextRef, name: &str) -> Struct
pub fn new( ctx: LLVMContextRef, fields: &mut [LLVMTypeRef], packed: bool, ) -> Struct
pub fn new_const_struct( constant_values: &mut [LLVMValueRef], packed: bool, ) -> LLVMValueRef
pub fn as_ref(&self) -> LLVMTypeRef
pub fn set_body(&self, fields: &mut [LLVMTypeRef], packed: bool)
Auto Trait Implementations§
impl Freeze for Struct
impl RefUnwindSafe for Struct
impl !Send for Struct
impl !Sync for Struct
impl Unpin for Struct
impl UnwindSafe for Struct
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