Struct brotli::enc::interface::LiteralBlockSwitch
[−]
[src]
pub struct LiteralBlockSwitch(pub BlockSwitch, pub u8);
Methods
impl LiteralBlockSwitch
[src]
pub fn new(block_type: u8, stride: u8) -> Self
[src]
pub fn block_type(&self) -> u8
[src]
pub fn stride(&self) -> u8
[src]
pub fn update_stride(&mut self, new_stride: u8)
[src]
Trait Implementations
impl Debug for LiteralBlockSwitch
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for LiteralBlockSwitch
[src]
impl Clone for LiteralBlockSwitch
[src]
fn clone(&self) -> LiteralBlockSwitch
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for LiteralBlockSwitch
[src]
fn default() -> LiteralBlockSwitch
[src]
Returns the "default value" for a type. Read more