pub struct TargetOptions {
pub deps: bool,
pub refs: bool,
pub nolibc: bool,
pub generate_c: bool,
pub generate_ir: bool,
pub lib_use: Vec<(String, Use)>,
pub export: Vec<String>,
pub config: Vec<String>,
pub warnings: Vec<String>,
}Fields§
§deps: bool§refs: bool§nolibc: bool§generate_c: bool§generate_ir: bool§lib_use: Vec<(String, Use)>§export: Vec<String>§config: Vec<String>§warnings: Vec<String>Implementations§
Source§impl TargetOptions
impl TargetOptions
pub fn new() -> TargetOptions
Trait Implementations§
Source§impl Clone for TargetOptions
impl Clone for TargetOptions
Source§fn clone(&self) -> TargetOptions
fn clone(&self) -> TargetOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TargetOptions
impl Debug for TargetOptions
Source§impl Default for TargetOptions
impl Default for TargetOptions
Source§fn default() -> TargetOptions
fn default() -> TargetOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TargetOptions
impl RefUnwindSafe for TargetOptions
impl Send for TargetOptions
impl Sync for TargetOptions
impl Unpin for TargetOptions
impl UnwindSafe for TargetOptions
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