#[non_exhaustive]pub struct Launcher {
pub command: String,
pub arguments: Vec<String>,
pub launcher_type: String,
}
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.command: String
string specifying the path to the launcher on disk, represented with forward slashes. If the file is inside the top-level source directory then the path is specified relative to that directory.
arguments: Vec<String>
Optional member that is present when the launcher command has arguments preceding the executable to be launched.
launcher_type: String
A string specifying the type of launcher. The value is one of the following:
- emulator: An emulator for the target platform when cross-compiling. See the CROSSCOMPILING_EMULATOR target property.
- test: A start program for the execution of tests. See the TEST_LAUNCHER target property.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Launcher
impl<'de> Deserialize<'de> for Launcher
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Launcher
Auto Trait Implementations§
impl Freeze for Launcher
impl RefUnwindSafe for Launcher
impl Send for Launcher
impl Sync for Launcher
impl Unpin for Launcher
impl UnwindSafe for Launcher
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