convert

Function convert 

Source
pub fn convert<T>(reader: impl Read, settings: &Settings) -> Result<WorldEdit>
where T: Loadable + ToInternal,
Expand description

Converts a GZIP-compressed schematic reader to a WorldEdit schematic. If you have an uncompressed schematic reader, use convert_uncompressed instead.

ยงErrors

Returns an error if Loadable::load or ToInternal::to_internal fails.