pub struct Destination<'a, T: Clone> {
pub change: T,
pub location: &'a BStr,
}
Available on crate feature
blob
only.Expand description
A change along with a location.
Fields§
§change: T
The change at the given location
.
location: &'a BStr
The repository-relative location of this destination.
Trait Implementations§
Source§impl<'a, T: Clone + Clone> Clone for Destination<'a, T>
impl<'a, T: Clone + Clone> Clone for Destination<'a, T>
Source§fn clone(&self) -> Destination<'a, T>
fn clone(&self) -> Destination<'a, T>
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 moreAuto Trait Implementations§
impl<'a, T> Freeze for Destination<'a, T>where
T: Freeze,
impl<'a, T> RefUnwindSafe for Destination<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for Destination<'a, T>where
T: Send,
impl<'a, T> Sync for Destination<'a, T>where
T: Sync,
impl<'a, T> Unpin for Destination<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for Destination<'a, T>where
T: UnwindSafe,
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