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§
Auto 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§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
)