insert_encoding_into_asset

Function insert_encoding_into_asset 

Source
pub fn insert_encoding_into_asset(
    encoding_type: &str,
    encoding: &AssetEncoding,
    asset: &mut Asset,
)
Expand description

With heap memory the encodings are part of the asset struct. Using stable, the encoding become a key pointing to another stable tree.