pub struct AddDone {
pub report: AddReport,
pub kept_patch_dir: Option<PathBuf>,
}Expand description
What Project::add did: mlua-pkg’s own report, and what htl carried across it.
add rewrites the whole [deps.<name>] entry, so a patch the entry declared would be
dropped by it. kept_patch_dir is that key, put back — named here so the report can say
it happened rather than leaving the manifest quietly different from what add wrote.
Fields§
§report: AddReportWhat mlua-pkg’s own add returned, passed through unchanged so a caller reads the
same report it would have got without htl in the way.
kept_patch_dir: Option<PathBuf>The patch_dir the entry had before add rewrote it, when there was one. None
means nothing was carried across — either the entry declared no patch, or the
dependency is new.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AddDone
impl RefUnwindSafe for AddDone
impl Send for AddDone
impl Sync for AddDone
impl Unpin for AddDone
impl UnsafeUnpin for AddDone
impl UnwindSafe for AddDone
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more