Trait wasm_encoder::Encode
source · pub trait Encode {
// Required method
fn encode(&self, sink: &mut Vec<u8>);
}
Expand description
Implemented by types that can be encoded into a byte sink.
pub trait Encode {
// Required method
fn encode(&self, sink: &mut Vec<u8>);
}
Implemented by types that can be encoded into a byte sink.