pub struct Section64 {
pub name: String,
pub header: Shdr64,
pub contents: Contents64,
}
Fields§
§name: String
§header: Shdr64
§contents: Contents64
Implementations§
Source§impl Section64
impl Section64
pub fn new_null_section() -> Self
pub fn new(name: String, hdr: ShdrPreparation64, contents: Contents64) -> Self
Sourcepub fn to_le_bytes(&self) -> Vec<u8> ⓘ
pub fn to_le_bytes(&self) -> Vec<u8> ⓘ
create binary without header
Trait Implementations§
Source§impl Ord for Section64
impl Ord for Section64
Source§impl PartialOrd for Section64
impl PartialOrd for Section64
impl Eq for Section64
impl StructuralPartialEq for Section64
Auto Trait Implementations§
impl Freeze for Section64
impl RefUnwindSafe for Section64
impl Send for Section64
impl Sync for Section64
impl Unpin for Section64
impl UnwindSafe for Section64
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