Struct asyncgit::sync::diff::Hunk [−][src]
Expand description
single diff hunk
Fields
header_hash: u64hash of the hunk header
lines: Vec<DiffLine>list of DiffLines
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Hunk
impl Send for Hunk
impl Sync for Hunk
impl Unpin for Hunk
impl UnwindSafe for Hunk
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<S, T> CastFloat<T> for S where
T: ConvFloat<S>, [src]
impl<S, T> CastFloat<T> for S where
T: ConvFloat<S>, [src]pub fn cast_trunc(self) -> T[src]
pub fn cast_trunc(self) -> T[src]Cast to integer, truncating Read more
pub fn cast_nearest(self) -> T[src]
pub fn cast_nearest(self) -> T[src]Cast to the nearest integer Read more
pub fn cast_floor(self) -> T[src]
pub fn cast_floor(self) -> T[src]Cast the floor to an integer Read more
pub fn try_cast_trunc(self) -> Result<T, Error>[src]
pub fn try_cast_trunc(self) -> Result<T, Error>[src]Try converting to integer with truncation Read more
pub fn try_cast_nearest(self) -> Result<T, Error>[src]
pub fn try_cast_nearest(self) -> Result<T, Error>[src]Try converting to the nearest integer Read more
pub fn try_cast_floor(self) -> Result<T, Error>[src]
pub fn try_cast_floor(self) -> Result<T, Error>[src]Try converting the floor to an integer Read more
pub fn try_cast_ceil(self) -> Result<T, Error>[src]
pub fn try_cast_ceil(self) -> Result<T, Error>[src]Try convert the ceiling to an integer Read more
impl<T> Pointable for T
impl<T> Pointable for Timpl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more