[−][src]Struct parity_wasm::elements::CodeSection
Section with function bodies of the module.
Implementations
impl CodeSection[src][−]
pub fn with_bodies(bodies: Vec<FuncBody>) -> Self[src][−]
New code section with specified function bodies.
pub fn bodies(&self) -> &[FuncBody][src][−]
All function bodies in the section.
pub fn bodies_mut(&mut self) -> &mut Vec<FuncBody>[src][−]
All function bodies in the section, mutable.
Trait Implementations
impl Clone for CodeSection[src][+]
impl Debug for CodeSection[src][+]
impl Default for CodeSection[src][+]
impl Deserialize for CodeSection[src][+]
impl PartialEq<CodeSection> for CodeSection[src][+]
impl Serialize for CodeSection[src][+]
impl StructuralPartialEq for CodeSection[src]
Auto Trait Implementations
impl RefUnwindSafe for CodeSection
impl Send for CodeSection
impl Sync for CodeSection
impl Unpin for CodeSection
impl UnwindSafe for CodeSection
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>,