Struct git2::DiffBinaryFile
source · pub struct DiffBinaryFile<'a> { /* private fields */ }
Expand description
The contents of one of the files in a binary diff.
Implementations§
source§impl<'a> DiffBinaryFile<'a>
impl<'a> DiffBinaryFile<'a>
sourcepub fn kind(&self) -> DiffBinaryKind
pub fn kind(&self) -> DiffBinaryKind
The type of binary data for this file
sourcepub fn inflated_len(&self) -> usize
pub fn inflated_len(&self) -> usize
The length of the binary data after inflation
Auto Trait Implementations§
impl<'a> RefUnwindSafe for DiffBinaryFile<'a>
impl<'a> !Send for DiffBinaryFile<'a>
impl<'a> !Sync for DiffBinaryFile<'a>
impl<'a> Unpin for DiffBinaryFile<'a>
impl<'a> UnwindSafe for DiffBinaryFile<'a>
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