Struct git_function_history_gui::MyEguiApp 
source · [−]pub struct MyEguiApp { /* private fields */ }Implementations
sourceimpl MyEguiApp
 
impl MyEguiApp
pub fn new(
    _cc: &CreationContext<'_>,
    channels: (Sender<FullCommand>, Receiver<(CommandResult, Status)>)
) -> Self
Trait Implementations
sourceimpl App for MyEguiApp
 
impl App for MyEguiApp
sourcefn update(&mut self, ctx: &Context, _frame: &mut Frame)
 
fn update(&mut self, ctx: &Context, _frame: &mut Frame)
Called each time the UI needs repainting, which may be many times per second. Read more
sourcefn save(&mut self, _storage: &mut dyn Storage)
 
fn save(&mut self, _storage: &mut dyn Storage)
Called on shutdown, and perhaps at regular intervals. Allows you to save state. Read more
sourcefn on_close_event(&mut self) -> bool
 
fn on_close_event(&mut self) -> bool
Called when the user attempts to close the desktop window and/or quit the application. Read more
sourcefn on_exit(&mut self, _gl: Option<&Context>)
 
fn on_exit(&mut self, _gl: Option<&Context>)
Called once on shutdown, after Self::save. Read more
sourcefn auto_save_interval(&self) -> Duration
 
fn auto_save_interval(&self) -> Duration
Time between automatic calls to Self::save
sourcefn max_size_points(&self) -> Vec2
 
fn max_size_points(&self) -> Vec2
The size limit of the web app canvas. Read more
sourcefn clear_color(&self, _visuals: &Visuals) -> Rgba
 
fn clear_color(&self, _visuals: &Visuals) -> Rgba
Background color for the app, e.g. what is sent to gl.clearColor.
This is the background of your windows if you don’t set a central panel. Read more
sourcefn persist_native_window(&self) -> bool
 
fn persist_native_window(&self) -> bool
Controls whether or not the native window position and size will be persisted (only if the “persistence” feature is enabled). Read more
sourcefn persist_egui_memory(&self) -> bool
 
fn persist_egui_memory(&self) -> bool
Controls whether or not the egui memory (window positions etc) will be persisted (only if the “persistence” feature is enabled). Read more
sourcefn warm_up_enabled(&self) -> bool
 
fn warm_up_enabled(&self) -> bool
If true a warm-up call to Self::update will be issued where
ctx.memory().everything_is_visible() will be set to true. Read more
Auto Trait Implementations
impl !RefUnwindSafe for MyEguiApp
impl Send for MyEguiApp
impl !Sync for MyEguiApp
impl Unpin for MyEguiApp
impl !UnwindSafe for MyEguiApp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
 
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for Twhere
    V: MultiLane<T>,
impl<V, T> VZip<V> for Twhere
    V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
 
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
    S: Into<Dispatch>,
 
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
    S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
 
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more