pub struct BuildResult { /* private fields */ }Implementations§
Source§impl BuildResult
impl BuildResult
pub fn new() -> Self
pub fn add_library( &mut self, name: String, kind: Option<LibraryType>, ) -> &mut Self
pub fn libraries(&self) -> &Vec<BuildLibrary>
pub fn add_library_path( &mut self, path: PathBuf, kind: Option<LinkSearchKind>, ) -> &mut Self
pub fn library_paths(&self) -> &Vec<BuildLibraryPath>
pub fn add_emit(&mut self, line: String) -> &mut Self
pub fn emit_cargo(&self)
Auto Trait Implementations§
impl Freeze for BuildResult
impl RefUnwindSafe for BuildResult
impl Send for BuildResult
impl Sync for BuildResult
impl Unpin for BuildResult
impl UnsafeUnpin for BuildResult
impl UnwindSafe for BuildResult
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