Struct titanium::desktop::gui::GuiLauncher
pub struct GuiLauncher;
Expand description
A struct that can be used to launch the GUI.
Implementations§
§impl GuiLauncher
impl GuiLauncher
pub fn launch<State>(main_window: GuiInstance<State>) -> Result<(), Error>where
State: Data,
pub fn launch<State>(main_window: GuiInstance<State>) -> Result<(), Error>where State: Data,
Launches the GUI with the given window and initial state.
pub fn custom<State>(
main_window: GuiInstance<State>
) -> (AppLauncher<State>, State)where
State: Data,
pub fn custom<State>( main_window: GuiInstance<State> ) -> (AppLauncher<State>, State)where State: Data,
Launches the GUI with the given window and initial state.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for GuiLauncher
impl Send for GuiLauncher
impl Sync for GuiLauncher
impl Unpin for GuiLauncher
impl UnwindSafe for GuiLauncher
Blanket Implementations§
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.