#[repr(C)]pub struct HuffmanCode {
pub value: u16,
pub bits: u8,
}
Fields§
§value: u16
§bits: u8
Implementations§
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§impl PartialEq for HuffmanCode
impl PartialEq for HuffmanCode
impl Copy for HuffmanCode
impl StructuralPartialEq for HuffmanCode
Auto Trait Implementations§
impl Freeze for HuffmanCode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)