pub struct App {
pub root_path: PathBuf,
pub name: String,
pub output_root: PathBuf,
pub main_reactor: PathBuf,
pub main_reactor_name: String,
pub target: TargetLanguage,
pub platform: Platform,
pub properties: AppTargetProperties,
}Fields§
§root_path: PathBufAbsolute path to the directory where the Lingo.toml file is located.
name: StringName of the app (and the final binary).
output_root: PathBufRoot directory where to place src-gen and other compilation-specifics stuff.
main_reactor: PathBufAbsolute path to the main reactor file.
main_reactor_name: Stringmain reactor name
target: TargetLanguagetarget language of this lf program
platform: Platformplatform for which this program should be compiled
properties: AppTargetPropertiestarget properties of that lingua-franca app
Implementations§
Source§impl App
impl App
pub fn build_system(&self, which: &WhichCapability<'_>) -> BuildSystem
pub fn src_gen_dir(&self) -> PathBuf
pub fn executable_path(&self) -> PathBuf
pub fn src_dir_path(&self) -> Option<PathBuf>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for App
impl RefUnwindSafe for App
impl Send for App
impl Sync for App
impl Unpin for App
impl UnwindSafe for App
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more