wasm_encoder::reencode::component_utils

Function canonical_option

source
pub fn canonical_option<T: ?Sized + ReencodeComponent>(
    reencoder: &mut T,
    ty: CanonicalOption,
) -> CanonicalOption
Available on crate features component-model and wasmparser only.