pub enum BinaryHunk {
Literal(usize),
Delta(usize),
}Expand description
An enum containing the size of binary hunks
Variants§
Trait Implementations§
Source§impl Clone for BinaryHunk
impl Clone for BinaryHunk
Source§fn clone(&self) -> BinaryHunk
fn clone(&self) -> BinaryHunk
Returns a duplicate 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 BinaryHunk
impl Debug for BinaryHunk
Source§impl PartialEq for BinaryHunk
impl PartialEq for BinaryHunk
impl Copy for BinaryHunk
impl StructuralPartialEq for BinaryHunk
Auto Trait Implementations§
impl Freeze for BinaryHunk
impl RefUnwindSafe for BinaryHunk
impl Send for BinaryHunk
impl Sync for BinaryHunk
impl Unpin for BinaryHunk
impl UnwindSafe for BinaryHunk
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