Struct wasm_shrink::ShrinkInfo

source ·
pub struct ShrinkInfo {
    pub input_size: u64,
    pub output_size: u64,
    pub output: Vec<u8>,
}
Expand description

Information about a completed shrinking run.

Fields§

§input_size: u64

The original size of the input Wasm.

§output_size: u64

The final size of the output, shrunken Wasm.

§output: Vec<u8>

The final, shrunken Wasm.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.