Enum gelato::app::App [−][src]
Variants
Loaded(State)
IrcConnecting(State)
IrcFinished(State)
Trait Implementations
impl Application for App
[src]
impl Application for App
[src]type Message = Message
type Message = Message
The type of messages your Application
will produce.
type Flags = ()
type Flags = ()
The data needed to initialize your Application
.
fn new(_flags: ()) -> (App, Command<Self::Message>)
[src]
fn new(_flags: ()) -> (App, Command<Self::Message>)
[src]Initializes the Application
with the flags provided to
run
as part of the Settings
. Read more
fn title(&self) -> String
[src]
fn title(&self) -> String
[src]Returns the current title of the Application
. Read more
fn update(
&mut self,
message: Self::Message,
_clipboard: &mut Clipboard
) -> Command<Self::Message>
[src]
fn update(
&mut self,
message: Self::Message,
_clipboard: &mut Clipboard
) -> Command<Self::Message>
[src]Handles a message and updates the state of the Application
. Read more
fn subscription(&self) -> Subscription<Message>
[src]
fn subscription(&self) -> Subscription<Message>
[src]Returns the event Subscription
for the current state of the
application. Read more
fn view(&mut self) -> Element<'_, Self::Message>
[src]
fn view(&mut self) -> Element<'_, Self::Message>
[src]Returns the widgets to display in the Application
. Read more
fn mode(&self) -> Mode
[src]
fn mode(&self) -> Mode
[src]Returns the current Application
mode. Read more
fn background_color(&self) -> Color
[src]
fn background_color(&self) -> Color
[src]Returns the background color of the Application
. Read more
fn scale_factor(&self) -> f64
[src]
fn scale_factor(&self) -> f64
[src]Returns the scale factor of the Application
. Read more
fn should_exit(&self) -> bool
[src]
fn should_exit(&self) -> bool
[src]Returns whether the Application
should be terminated. Read more
Auto Trait Implementations
impl !RefUnwindSafe for App
impl Send for App
impl Sync for App
impl Unpin for App
impl !UnwindSafe for App
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Pointable for T
impl<T> Pointable for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,