pub struct HuffmanType { /* private fields */ }
Implementations§
Source§impl HuffmanType
impl HuffmanType
pub fn new(symbol: u8, frequency: u64) -> HuffmanType
Trait Implementations§
Source§impl Debug for HuffmanType
impl Debug for HuffmanType
Source§impl Ord for HuffmanType
impl Ord for HuffmanType
Source§impl PartialEq for HuffmanType
impl PartialEq for HuffmanType
Source§impl PartialOrd for HuffmanType
impl PartialOrd for HuffmanType
impl Eq for HuffmanType
Auto Trait Implementations§
impl Freeze for HuffmanType
impl RefUnwindSafe for HuffmanType
impl Send for HuffmanType
impl Sync for HuffmanType
impl Unpin for HuffmanType
impl UnwindSafe for HuffmanType
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