pub struct CustomSection { /* private fields */ }Expand description
Custom section
Implementations§
Source§impl CustomSection
impl CustomSection
Sourcepub fn payload_mut(&mut self) -> &mut Vec<u8> ⓘ
pub fn payload_mut(&mut self) -> &mut Vec<u8> ⓘ
Payload of the custom section (mutable)
Trait Implementations§
Source§impl Clone for CustomSection
impl Clone for CustomSection
Source§fn clone(&self) -> CustomSection
fn clone(&self) -> CustomSection
Returns a duplicate 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 Deserialize for CustomSection
impl Deserialize for CustomSection
Auto Trait Implementations§
impl Freeze for CustomSection
impl RefUnwindSafe for CustomSection
impl Send for CustomSection
impl Sync for CustomSection
impl Unpin for CustomSection
impl UnwindSafe for CustomSection
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