pub struct MergedLink {
pub target: String,
pub constraint: Constraint,
pub pretty: String,
pub text: String,
}Expand description
A merged require / require-dev link, as Link would carry it.
Fields§
§target: String§constraint: Constraint§pretty: StringgetPrettyConstraint(): what an error line shows.
text: StringA constraint text that parses to constraint (the pretty string,
or the conjunction distributed over ||), for the manifest.
Trait Implementations§
Source§impl Clone for MergedLink
impl Clone for MergedLink
Source§impl Debug for MergedLink
impl Debug for MergedLink
Source§impl PartialEq for MergedLink
impl PartialEq for MergedLink
impl StructuralPartialEq for MergedLink
Auto Trait Implementations§
impl Freeze for MergedLink
impl RefUnwindSafe for MergedLink
impl Send for MergedLink
impl Sync for MergedLink
impl Unpin for MergedLink
impl UnsafeUnpin for MergedLink
impl UnwindSafe for MergedLink
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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