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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)