pub struct Target { /* private fields */ }
Implementations§
Source§impl Target
impl Target
pub fn new( os: OS, arch: Arch, build_name: Option<String>, ) -> Result<Self, Error>
pub fn target_str(&self) -> &str
pub fn output_str(&self) -> String
pub fn add_libs(&mut self, libs: &[String])
pub fn add_env(&mut self, env: &HashMap<String, String>)
pub fn libs(&self) -> String
pub fn compile( &self, version: &str, status: &mut StatusWrapper<'_>, ) -> Result<ExitStatus, Error>
Auto Trait Implementations§
impl Freeze for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnwindSafe for Target
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