[−][src]Struct parity_wasm::elements::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][+]
impl PartialEq<TypeSection> for TypeSection
[src][+]
impl Serialize for TypeSection
[src][+]
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][+]
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,
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,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,