#[non_exhaustive]pub struct TargetConfig {
pub linker: Option<PathBuf>,
pub runner: Option<PathAndArgs>,
pub rustflags: Option<Flags>,
pub rustdocflags: Option<Flags>,
}Expand description
A [target.<triple>] or [target.<cfg>] table.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.linker: Option<PathBuf>§runner: Option<PathAndArgs>§rustflags: Option<Flags>§rustdocflags: Option<Flags>Trait Implementations§
Source§impl Clone for TargetConfig
impl Clone for TargetConfig
Source§fn clone(&self) -> TargetConfig
fn clone(&self) -> TargetConfig
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 TargetConfig
impl Debug for TargetConfig
Source§impl Default for TargetConfig
impl Default for TargetConfig
Source§fn default() -> TargetConfig
fn default() -> TargetConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TargetConfig
impl RefUnwindSafe for TargetConfig
impl Send for TargetConfig
impl Sync for TargetConfig
impl Unpin for TargetConfig
impl UnsafeUnpin for TargetConfig
impl UnwindSafe for TargetConfig
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