pub struct Artifacts { /* private fields */ }
Expand description
Represents the artifacts produced by the build process.
Implementations§
Source§impl Artifacts
impl Artifacts
Sourcepub fn include_dir(&self) -> &Path
pub fn include_dir(&self) -> &Path
Returns the directory containing the Lua headers.
Sourcepub fn print_cargo_metadata(&self)
pub fn print_cargo_metadata(&self)
Prints the necessary Cargo metadata for linking the Lua libraries.
This method is typically called in a build script to inform Cargo about the location of the Lua libraries and how to link them.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Artifacts
impl RefUnwindSafe for Artifacts
impl Send for Artifacts
impl Sync for Artifacts
impl Unpin for Artifacts
impl UnwindSafe for Artifacts
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