Struct escargot::format::BuildScript
source · pub struct BuildScript<'a> {
pub package_id: WorkspaceMember<'a>,
pub linked_libs: Vec<Cow<'a, str>>,
pub linked_paths: Vec<Cow<'a, Path>>,
pub cfgs: Vec<Cow<'a, Path>>,
pub env: Vec<(Cow<'a, str>, Cow<'a, str>)>,
/* private fields */
}
Expand description
Output of a Build Script execution.
Fields
package_id: WorkspaceMember<'a>
The workspace member this build script execution belongs to
linked_libs: Vec<Cow<'a, str>>
The libs to link
linked_paths: Vec<Cow<'a, Path>>
The paths to search when resolving libs
cfgs: Vec<Cow<'a, Path>>
The paths to search when resolving libs
env: Vec<(Cow<'a, str>, Cow<'a, str>)>
The environment variables to add to the compilation
Trait Implementations
sourceimpl<'a> Clone for BuildScript<'a>
impl<'a> Clone for BuildScript<'a>
sourcefn clone(&self) -> BuildScript<'a>
fn clone(&self) -> BuildScript<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for BuildScript<'a>
impl<'a> Debug for BuildScript<'a>
sourceimpl<'de: 'a, 'a> Deserialize<'de> for BuildScript<'a>
impl<'de: 'a, 'a> Deserialize<'de> for BuildScript<'a>
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<'a> Serialize for BuildScript<'a>
impl<'a> Serialize for BuildScript<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for BuildScript<'a>
impl<'a> Send for BuildScript<'a>
impl<'a> Sync for BuildScript<'a>
impl<'a> Unpin for BuildScript<'a>
impl<'a> UnwindSafe for BuildScript<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more