pub struct Build { /* private fields */ }
Implementations§
Source§impl Build
impl Build
pub fn new() -> Build
pub fn out_dir<P: AsRef<Path>>(&mut self, path: P) -> &mut Build
pub fn target(&mut self, target: &str) -> &mut Build
pub fn host(&mut self, host: &str) -> &mut Build
pub fn set_max_cstack_size(&mut self, size: usize) -> &mut Build
pub fn use_longjmp(&mut self, use: bool) -> &mut Build
pub fn enable_codegen(&mut self, enable: bool) -> &mut Build
pub fn set_vector_size(&mut self, size: usize) -> &mut Build
pub fn build(&mut self) -> Artifacts
Auto Trait Implementations§
impl Freeze for Build
impl RefUnwindSafe for Build
impl Send for Build
impl Sync for Build
impl Unpin for Build
impl UnwindSafe for Build
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