Struct patchkit::patch::BinaryPatch
source · pub struct BinaryPatch(pub Vec<u8>, pub Vec<u8>);Expand description
A binary patch
Tuple Fields§
§0: Vec<u8>§1: Vec<u8>Trait Implementations§
source§impl Clone for BinaryPatch
impl Clone for BinaryPatch
source§fn clone(&self) -> BinaryPatch
fn clone(&self) -> BinaryPatch
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 BinaryPatch
impl Debug for BinaryPatch
source§impl PartialEq for BinaryPatch
impl PartialEq for BinaryPatch
source§fn eq(&self, other: &BinaryPatch) -> bool
fn eq(&self, other: &BinaryPatch) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Patch for BinaryPatch
impl Patch for BinaryPatch
impl Eq for BinaryPatch
impl StructuralPartialEq for BinaryPatch
Auto Trait Implementations§
impl Freeze for BinaryPatch
impl RefUnwindSafe for BinaryPatch
impl Send for BinaryPatch
impl Sync for BinaryPatch
impl Unpin for BinaryPatch
impl UnwindSafe for BinaryPatch
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)