Struct brotli2::CompressParams [] [src]

pub struct CompressParams { /* fields omitted */ }

Parameters passed to various compression routines.

Methods

impl CompressParams
[src]

[src]

Creates a new default set of compression parameters.

[src]

Set the mode of this compression.

[src]

Controls the compression-speed vs compression-density tradeoffs.

The higher the quality, the slower the compression. Currently the range for the quality is 0 to 11.

[src]

Sets the base 2 logarithm of the sliding window size.

Currently the range is 10 to 24.

[src]

Sets the base 2 logarithm of the maximum input block size.

Currently the range is 16 to 24, and if set to 0 the value will be set based on the quality.

[src]

Get the current block size

[src]

Get the native lgblock size

[src]

Get the current window size

[src]

Get the native lgwin value

Trait Implementations

impl Clone for CompressParams
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CompressParams
[src]

[src]

Formats the value using the given formatter.