Expand description
Information about the output of a unit.
Fields
unit: Unit
The unit that generated this output.
path: PathBuf
Path to the unit’s primary output (an executable or cdylib).
script_meta: Option<Metadata>
The script metadata, if this unit’s package has a build script.
This is used for indexing Compilation::extra_env
.
Trait Implementations
sourceimpl Ord for UnitOutput
impl Ord for UnitOutput
sourceimpl PartialEq<UnitOutput> for UnitOutput
impl PartialEq<UnitOutput> for UnitOutput
sourcefn eq(&self, other: &UnitOutput) -> bool
fn eq(&self, other: &UnitOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UnitOutput) -> bool
fn ne(&self, other: &UnitOutput) -> bool
This method tests for !=
.
sourceimpl PartialOrd<UnitOutput> for UnitOutput
impl PartialOrd<UnitOutput> for UnitOutput
sourcefn partial_cmp(&self, other: &UnitOutput) -> Option<Ordering>
fn partial_cmp(&self, other: &UnitOutput) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Eq for UnitOutput
impl StructuralEq for UnitOutput
impl StructuralPartialEq for UnitOutput
Auto Trait Implementations
impl RefUnwindSafe for UnitOutput
impl !Send for UnitOutput
impl !Sync for UnitOutput
impl Unpin for UnitOutput
impl UnwindSafe for UnitOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more