Struct wasm_encoder::CustomSection
source · pub struct CustomSection<'a> {
pub name: &'a str,
pub data: &'a [u8],
}
Expand description
A custom section holding arbitrary data.
Fields§
§name: &'a str
The name of this custom section.
data: &'a [u8]
This custom section’s data.
Trait Implementations§
source§impl<'a> Clone for CustomSection<'a>
impl<'a> Clone for CustomSection<'a>
source§fn clone(&self) -> CustomSection<'a>
fn clone(&self) -> CustomSection<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more