Struct parity_wasm::builder::DataSegmentBuilder
[−]
[src]
pub struct DataSegmentBuilder<F = Identity> { /* fields omitted */ }
Data segment builder
Methods
impl DataSegmentBuilder
[src]
impl<F> DataSegmentBuilder<F>
[src]
pub fn with_callback(callback: F) -> Self
[src]
New data segment builder inside the chain context
pub fn offset(self, opcode: Opcode) -> Self
[src]
Set offset initialization opcode. End
opcode will be added automatically.
pub fn value(self, value: Vec<u8>) -> Self
[src]
Set the bytes value of the segment
impl<F> DataSegmentBuilder<F> where
F: Invoke<DataSegment>,
[src]
F: Invoke<DataSegment>,
Trait Implementations
Auto Trait Implementations
impl<F> Send for DataSegmentBuilder<F> where
F: Send,
F: Send,
impl<F> Sync for DataSegmentBuilder<F> where
F: Sync,
F: Sync,