Struct brotli::ffi::decompressor::ffi::HuffmanCode
source · #[repr(C)]pub struct HuffmanCode {
pub value: u16,
pub bits: u8,
}
Fields§
§value: u16
§bits: u8
Implementations§
source§impl HuffmanCode
impl HuffmanCode
pub fn eq(&self, other: &HuffmanCode) -> bool
Trait Implementations§
source§impl Clone for HuffmanCode
impl Clone for HuffmanCode
source§fn clone(&self) -> HuffmanCode
fn clone(&self) -> HuffmanCode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HuffmanCode
impl Debug for HuffmanCode
source§impl Default for HuffmanCode
impl Default for HuffmanCode
source§fn default() -> HuffmanCode
fn default() -> HuffmanCode
Returns the “default value” for a type. Read more
source§impl PartialEq<HuffmanCode> for HuffmanCode
impl PartialEq<HuffmanCode> for HuffmanCode
source§fn eq(&self, other: &HuffmanCode) -> bool
fn eq(&self, other: &HuffmanCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HuffmanCode
impl StructuralPartialEq for HuffmanCode
Auto Trait Implementations§
impl RefUnwindSafe for HuffmanCode
impl Send for HuffmanCode
impl Sync for HuffmanCode
impl Unpin for HuffmanCode
impl UnwindSafe for HuffmanCode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more