pub struct TargetSpec {
pub target: OsString,
pub extra_options: Vec<OsString>,
}Fields§
§target: OsString§extra_options: Vec<OsString>Implementations§
Source§impl TargetSpec
impl TargetSpec
pub fn append_to_cmd(&self, cmd: &mut Command)
Trait Implementations§
Source§impl Clone for TargetSpec
impl Clone for TargetSpec
Source§fn clone(&self) -> TargetSpec
fn clone(&self) -> TargetSpec
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 TargetSpec
impl Debug for TargetSpec
Source§impl Default for TargetSpec
impl Default for TargetSpec
Source§fn default() -> TargetSpec
fn default() -> TargetSpec
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TargetSpec
impl RefUnwindSafe for TargetSpec
impl Send for TargetSpec
impl Sync for TargetSpec
impl Unpin for TargetSpec
impl UnsafeUnpin for TargetSpec
impl UnwindSafe for TargetSpec
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