Enum wasmbin::sections::NameSubSection [−][src]
#[repr(u8)] pub enum NameSubSection { Module(Blob<String>), Func(Blob<NameMap<FuncId, String>>), Local(Blob<NameMap<FuncId, NameMap<LocalId, String>>>), }
Variants
Trait Implementations
type Discriminant = u8
fn maybe_decode_with_discriminant(
discriminant: u8,
r: &mut impl Read
) -> Result<Option<Self>, DecodeError>
fn decode_with_discriminant(
discriminant: Self::Discriminant,
r: &mut impl Read
) -> Result<Self, DecodeError>
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
fn visit_children<'a, VisitT: 'static, VisitE, VisitF: FnMut(&'a VisitT) -> Result<(), VisitE>>(
&'a 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>>
fn visit<'a, T: 'static, R: VisitResult, F: FnMut(&'a T) -> R>(
&'a 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>>
fn visit_child<'a, T: 'static, E, F: FnMut(&'a T) -> Result<(), E>>(
&'a self,
f: &mut F
) -> Result<(), VisitError<E>>
fn visit_child_mut<T: 'static, E, F: FnMut(&mut T) -> Result<(), E>>(
&mut self,
f: &mut F
) -> Result<(), VisitError<E>>
Auto Trait Implementations
impl RefUnwindSafe for NameSubSection
impl Send for NameSubSection
impl Sync for NameSubSection
impl Unpin for NameSubSection
impl UnwindSafe for NameSubSection
Blanket Implementations
Mutably borrows from an owned value. Read more