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