Struct wasmbin::sections::RawCustomSection
source · pub struct RawCustomSection {
pub name: String,
pub data: UnparsedBytes,
}
Expand description
A raw custom section.
Used to represent custom sections with unknown semantics.
Fields§
§name: String
§data: UnparsedBytes
Trait Implementations§
source§impl Clone for RawCustomSection
impl Clone for RawCustomSection
source§fn clone(&self) -> RawCustomSection
fn clone(&self) -> RawCustomSection
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 RawCustomSection
impl Debug for RawCustomSection
source§impl Decode for RawCustomSection
impl Decode for RawCustomSection
source§impl Encode for RawCustomSection
impl Encode for RawCustomSection
source§impl Hash for RawCustomSection
impl Hash for RawCustomSection
source§impl PartialEq for RawCustomSection
impl PartialEq for RawCustomSection
source§fn eq(&self, other: &RawCustomSection) -> bool
fn eq(&self, other: &RawCustomSection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Visit for RawCustomSectionwhere
Self: 'static,
impl Visit for RawCustomSectionwhere
Self: 'static,
source§fn visit_children<'a, VisitT: 'static, VisitE, VisitF: FnMut(&'a VisitT) -> Result<(), VisitE>>(
&'a self,
f: &mut VisitF
) -> Result<(), VisitError<VisitE>>
fn visit_children<'a, VisitT: 'static, VisitE, VisitF: FnMut(&'a VisitT) -> Result<(), VisitE>>( &'a self, f: &mut VisitF ) -> Result<(), VisitError<VisitE>>
Traverse the children of this value with the provided callback.
source§fn visit_children_mut<VisitT: 'static, VisitE, VisitF: FnMut(&mut VisitT) -> Result<(), VisitE>>(
&mut self,
f: &mut VisitF
) -> Result<(), VisitError<VisitE>>
fn visit_children_mut<VisitT: 'static, VisitE, VisitF: FnMut(&mut VisitT) -> Result<(), VisitE>>( &mut self, f: &mut VisitF ) -> Result<(), VisitError<VisitE>>
Traverse the children of this value mutably with the provided callback.
source§fn visit<'a, T: 'static, R: VisitResult, F: FnMut(&'a T) -> R>(
&'a self,
f: F
) -> Result<(), VisitError<R::Error>>
fn visit<'a, T: 'static, R: VisitResult, F: FnMut(&'a T) -> R>( &'a self, f: F ) -> Result<(), VisitError<R::Error>>
Traverse this value with the provided callback.
source§fn visit_mut<T: 'static, R: VisitResult, F: FnMut(&mut T) -> R>(
&mut self,
f: F
) -> Result<(), VisitError<R::Error>>
fn visit_mut<T: 'static, R: VisitResult, F: FnMut(&mut T) -> R>( &mut self, f: F ) -> Result<(), VisitError<R::Error>>
Traverse this value mutably with the provided callback.
impl Eq for RawCustomSection
impl StructuralEq for RawCustomSection
impl StructuralPartialEq for RawCustomSection
Auto Trait Implementations§
impl RefUnwindSafe for RawCustomSection
impl Send for RawCustomSection
impl Sync for RawCustomSection
impl Unpin for RawCustomSection
impl UnwindSafe for RawCustomSection
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