pub enum Linked<'a> {
Executable {
subsystem: Subsystem,
of_shared: bool,
},
Shared {
import: &'a Path,
pdb: &'a Path,
},
}Expand description
What a link makes (docs/en/specs/build.md, “Linking” and “Building a
library”).
Variants§
Executable
An executable, started as its [[bin]] subsystem says.
Fields
Whether it links the body of a shared library’s package, which
exports, so that it is told to write no import library of its
own (docs/en/specs/build.md, “Linking”).
A DLL, with its import library at import and, with debug
information, its PDB at pdb: both beside the static libraries
rather than the DLL, where an executable of the same name would write
its own.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for Linked<'a>
impl<'a> Freeze for Linked<'a>
impl<'a> Move for Linked<'a>
impl<'a> RefUnwindSafe for Linked<'a>
impl<'a> Send for Linked<'a>
impl<'a> Sync for Linked<'a>
impl<'a> Unpin for Linked<'a>
impl<'a> UnsafeUnpin for Linked<'a>where
&'a Path: UnsafeUnpin,
impl<'a> UnwindSafe for Linked<'a>where
&'a Path: UnwindSafe,
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