[][src]Struct parity_wasm::elements::TypeSection

pub struct TypeSection(_);

Section with type declarations.

Implementations

impl TypeSection[src]

pub fn with_types(types: Vec<Type>) -> Self[src]

New type section with provided types.

pub fn types(&self) -> &[Type][src]

List of type declarations.

pub fn types_mut(&mut self) -> &mut Vec<Type>[src]

List of type declarations (mutable).

Trait Implementations

impl Clone for TypeSection[src]

impl Debug for TypeSection[src]

impl Default for TypeSection[src]

impl Deserialize for TypeSection[src]

type Error = Error

Serialization error produced by deserialization routine.

impl PartialEq<TypeSection> for TypeSection[src]

impl Serialize for TypeSection[src]

type Error = Error

Serialization error produced by serialization routine.

impl StructuralPartialEq for TypeSection[src]

Auto Trait Implementations

impl RefUnwindSafe for TypeSection

impl Send for TypeSection

impl Sync for TypeSection

impl Unpin for TypeSection

impl UnwindSafe for TypeSection

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.