pub struct SectionBuilder { /* private fields */ }
Implementations§
source§impl SectionBuilder
impl SectionBuilder
pub fn new(name: String, range: Range<u64>) -> Self
pub fn semantics(self, semantics: Semantics) -> Self
pub fn section_type(self, ty: String) -> Self
pub fn align(self, align: u64) -> Self
pub fn entry_size(self, entry_size: u64) -> Self
pub fn linked_section(self, linked_section: String) -> Self
pub fn info_section(self, info_section: String) -> Self
pub fn info_data(self, info_data: u64) -> Self
pub fn is_auto(self, is_auto: bool) -> Self
Trait Implementations§
source§impl Clone for SectionBuilder
impl Clone for SectionBuilder
source§fn clone(&self) -> SectionBuilder
fn clone(&self) -> SectionBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SectionBuilder
impl Debug for SectionBuilder
source§impl Hash for SectionBuilder
impl Hash for SectionBuilder
source§impl PartialEq for SectionBuilder
impl PartialEq for SectionBuilder
impl Eq for SectionBuilder
impl StructuralPartialEq for SectionBuilder
Auto Trait Implementations§
impl Freeze for SectionBuilder
impl RefUnwindSafe for SectionBuilder
impl Send for SectionBuilder
impl Sync for SectionBuilder
impl Unpin for SectionBuilder
impl UnwindSafe for SectionBuilder
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