Struct inkwell::object_file::Section
source · pub struct Section { /* private fields */ }
Implementations§
source§impl Section
impl Section
pub unsafe fn new( section: LLVMSectionIteratorRef, object_file: LLVMObjectFileRef ) -> Self
pub unsafe fn as_mut_ptr(&self) -> (LLVMSectionIteratorRef, LLVMObjectFileRef)
pub fn get_name(&self) -> Option<&CStr>
pub fn size(&self) -> u64
pub fn get_contents(&self) -> &[u8] ⓘ
pub fn get_address(&self) -> u64
pub fn get_relocations(&self) -> RelocationIterator ⓘ
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Section
impl !Send for Section
impl !Sync for Section
impl Unpin for Section
impl UnwindSafe for Section
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