Struct llvm_plugin_inkwell::object_file::Section
source · [−]pub struct Section { /* private fields */ }Implementations
sourceimpl Section
impl Section
pub fn get_name(&self) -> Option<&CStr>
pub fn size(&self) -> u64
pub fn get_contents(&self) -> &[u8]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
pub fn get_address(&self) -> u64
pub fn get_relocations(&self) -> RelocationIteratorⓘNotable traits for RelocationIteratorimpl Iterator for RelocationIterator type Item = Relocation;
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more