pub struct SBSection {
pub raw: SBSectionRef,
}
Fields
raw: SBSectionRef
The underlying raw SBSectionRef
.
Implementations
sourceimpl SBSection
impl SBSection
pub fn find_subsection(&self, name: &str) -> Option<SBSection>
sourcepub fn subsections(&self) -> SBSectionSubSectionIter<'_>ⓘNotable traits for SBSectionSubSectionIter<'d>impl<'d> Iterator for SBSectionSubSectionIter<'d> type Item = SBSection;
pub fn subsections(&self) -> SBSectionSubSectionIter<'_>ⓘNotable traits for SBSectionSubSectionIter<'d>impl<'d> Iterator for SBSectionSubSectionIter<'d> type Item = SBSection;
Get an iterator over the subsections known to this section instance.
pub fn file_address(&self) -> u64
pub fn load_address(&self, target: &SBTarget) -> u64
pub fn byte_size(&self) -> u64
pub fn file_offset(&self) -> u64
pub fn file_byte_size(&self) -> u64
pub fn section_data(&self) -> SBData
pub fn section_data_slice(&self, offset: u64, size: u64) -> SBData
pub fn section_type(&self) -> SectionType
pub fn target_byte_size(&self) -> u32
Trait Implementations
impl Send for SBSection
impl Sync for SBSection
Auto Trait Implementations
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