pub struct MainAppEntry {
pub sequence: u32,
pub optional_service: Option<&'static str>,
pub factory: fn() -> Arc<dyn EntryPoint>,
}Expand description
A #[main_application]-annotated entry point (Java @MainApplication).
Fields§
§sequence: u32§optional_service: Option<&'static str>Java @OptionalService condition; None = always run.
factory: fn() -> Arc<dyn EntryPoint>Trait Implementations§
impl Collect for MainAppEntry
Auto Trait Implementations§
impl Freeze for MainAppEntry
impl RefUnwindSafe for MainAppEntry
impl Send for MainAppEntry
impl Sync for MainAppEntry
impl Unpin for MainAppEntry
impl UnsafeUnpin for MainAppEntry
impl UnwindSafe for MainAppEntry
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