pub(crate) struct BuildScriptOutput {
pub(crate) cfgs: Vec<CfgAtom>,
pub(crate) envs: Env,
pub(crate) out_dir: Option<AbsPathBuf>,
pub(crate) proc_macro_dylib_path: ProcMacroDylibPath,
}Expand description
Output of the build script and proc-macro building step for a concrete package.
Fields§
§cfgs: Vec<CfgAtom>List of config flags defined by this package’s build script.
envs: EnvList of cargo-related environment variables with their value.
If the package has a build script which defines environment variables, they can also be found here.
out_dir: Option<AbsPathBuf>Directory where a build script might place its output.
proc_macro_dylib_path: ProcMacroDylibPathPath to the proc-macro library file if this package exposes proc-macros.
Implementations§
Trait Implementations§
Source§impl Clone for BuildScriptOutput
impl Clone for BuildScriptOutput
Source§fn clone(&self) -> BuildScriptOutput
fn clone(&self) -> BuildScriptOutput
Returns a duplicate 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 moreSource§impl Debug for BuildScriptOutput
impl Debug for BuildScriptOutput
Source§impl Default for BuildScriptOutput
impl Default for BuildScriptOutput
Source§fn default() -> BuildScriptOutput
fn default() -> BuildScriptOutput
Returns the “default value” for a type. Read more
Source§impl PartialEq for BuildScriptOutput
impl PartialEq for BuildScriptOutput
impl Eq for BuildScriptOutput
impl StructuralPartialEq for BuildScriptOutput
Auto Trait Implementations§
impl Freeze for BuildScriptOutput
impl RefUnwindSafe for BuildScriptOutput
impl Send for BuildScriptOutput
impl Sync for BuildScriptOutput
impl Unpin for BuildScriptOutput
impl UnwindSafe for BuildScriptOutput
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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