[−][src]Enum wasmbin::sections::NameSubSection
Variants
Trait Implementations
impl Arbitrary for NameSubSection
[src]
fn arbitrary(u: &mut Unstructured<'_>) -> Result<Self>
[src]
fn arbitrary_take_rest(u: Unstructured<'_>) -> Result<Self>
[src]
fn size_hint(depth: usize) -> (usize, Option<usize>)
[src]
fn shrink(&self) -> Box<dyn Iterator<Item = Self>>
[src]
impl Clone for NameSubSection
[src]
fn clone(&self) -> NameSubSection
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for NameSubSection
[src]
impl Decode for NameSubSection
[src]
fn decode(r: &mut impl Read) -> Result<Self, DecodeError>
[src]
impl DecodeWithDiscriminant for NameSubSection
[src]
const NAME: &'static str
[src]
type Discriminant = u8
fn maybe_decode_with_discriminant(
discriminant: u8,
r: &mut impl Read
) -> Result<Option<Self>, DecodeError>
[src]
discriminant: u8,
r: &mut impl Read
) -> Result<Option<Self>, DecodeError>
fn decode_with_discriminant(
discriminant: Self::Discriminant,
r: &mut impl Read
) -> Result<Self, DecodeError>
[src]
discriminant: Self::Discriminant,
r: &mut impl Read
) -> Result<Self, DecodeError>
fn decode_without_discriminant(r: &mut impl Read) -> Result<Self, DecodeError>
[src]
impl Encode for NameSubSection
[src]
impl Eq for NameSubSection
[src]
impl Hash for NameSubSection
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<NameSubSection> for NameSubSection
[src]
fn eq(&self, other: &NameSubSection) -> bool
[src]
fn ne(&self, other: &NameSubSection) -> bool
[src]
impl StructuralEq for NameSubSection
[src]
impl StructuralPartialEq for NameSubSection
[src]
impl Visit for NameSubSection where
Self: 'static,
[src]
Self: 'static,
fn visit_children<'a, VisitT: 'static, VisitE, VisitF: FnMut(&'a VisitT) -> Result<(), VisitE>>(
&'a self,
f: &mut VisitF
) -> Result<(), VisitError<VisitE>>
[src]
&'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>>
[src]
&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>>
[src]
&'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>>
[src]
&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>>
[src]
&'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>>
[src]
&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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,