pub struct App { /* private fields */ }Trait Implementations§
Source§impl LiveApplyReset for App
impl LiveApplyReset for App
Source§impl LiveApplyValue for App
impl LiveApplyValue for App
Source§impl LiveHook for App
impl LiveHook for App
fn apply_value_unknown( &mut self, cx: &mut Cx, _apply: &mut Apply<'_, '_, '_>, index: usize, nodes: &[LiveNode], ) -> usize
fn skip_apply_animator( &mut self, _cx: &mut Cx, _apply: &mut Apply<'_, '_, '_>, _index: usize, _nodes: &[LiveNode], ) -> bool
fn apply_value_instance( &mut self, _cx: &mut Cx, _apply: &mut Apply<'_, '_, '_>, index: usize, nodes: &[LiveNode], ) -> usize
fn skip_apply( &mut self, _cx: &mut Cx, _apply: &mut Apply<'_, '_, '_>, _index: usize, _nodes: &[LiveNode], ) -> Option<usize>
fn before_apply( &mut self, _cx: &mut Cx, _apply: &mut Apply<'_, '_, '_>, _index: usize, _nodes: &[LiveNode], )
fn after_apply( &mut self, _cx: &mut Cx, _apply: &mut Apply<'_, '_, '_>, _index: usize, _nodes: &[LiveNode], )
fn after_apply_from(&mut self, cx: &mut Cx, apply: &mut Apply<'_, '_, '_>)
fn after_new_from_doc(&mut self, _cx: &mut Cx)
fn after_update_from_doc(&mut self, _cx: &mut Cx)
fn after_apply_from_doc(&mut self, _cx: &mut Cx)
fn after_new_before_apply(&mut self, _cx: &mut Cx)
Source§impl LiveHookDeref for App
impl LiveHookDeref for App
Source§impl LiveNew for App
impl LiveNew for App
fn live_type_info(cx: &mut Cx) -> LiveTypeInfo
fn live_design_with(cx: &mut Cx)
fn new(cx: &mut Cx) -> Self
fn new_apply(
cx: &mut Cx,
apply: &mut Apply<'_, '_, '_>,
index: usize,
nodes: &[LiveNode],
) -> Selfwhere
Self: Sized,
fn new_apply_over(cx: &mut Cx, nodes: &[LiveNode]) -> Selfwhere
Self: Sized,
fn new_apply_mut_index(
cx: &mut Cx,
apply: &mut Apply<'_, '_, '_>,
index: &mut usize,
nodes: &[LiveNode],
) -> Selfwhere
Self: Sized,
fn new_from_ptr(cx: &mut Cx, live_ptr: Option<LivePtr>) -> Selfwhere
Self: Sized,
fn update_from_ptr(&mut self, cx: &mut Cx, live_ptr: Option<LivePtr>)
fn update_from_ptr_with_scope( &mut self, cx: &mut Cx, live_ptr: Option<LivePtr>, scope: &mut Scope<'_, '_>, )
fn new_from_ptr_with_scope(
cx: &mut Cx,
live_ptr: Option<LivePtr>,
scope: &mut Scope<'_, '_>,
) -> Selfwhere
Self: Sized,
fn new_main(cx: &mut Cx) -> Option<Self>where
Self: Sized,
fn register_main_module(cx: &mut Cx)
fn update_main(&mut self, cx: &mut Cx)
fn new_local(cx: &mut Cx) -> Selfwhere
Self: Sized,
fn new_from_module(
cx: &mut Cx,
module_id: LiveModuleId,
id: LiveId,
) -> Option<Self>where
Self: Sized,
fn update_from_module( &mut self, cx: &mut Cx, module_id: LiveModuleId, id: LiveId, )
Source§impl LiveRegister for App
impl LiveRegister for App
fn live_register(cx: &mut Cx)
Source§impl MatchEvent for App
impl MatchEvent for App
fn handle_startup(&mut self, _cx: &mut Cx)
fn handle_actions(&mut self, cx: &mut Cx, actions: &Actions)
fn handle_shutdown(&mut self, _cx: &mut Cx)
fn handle_foreground(&mut self, _cx: &mut Cx)
fn handle_background(&mut self, _cx: &mut Cx)
fn handle_pause(&mut self, _cx: &mut Cx)
fn handle_resume(&mut self, _cx: &mut Cx)
fn handle_app_got_focus(&mut self, _cx: &mut Cx)
fn handle_app_lost_focus(&mut self, _cx: &mut Cx)
fn handle_next_frame(&mut self, _cx: &mut Cx, _e: &NextFrameEvent)
fn handle_action(&mut self, _cx: &mut Cx, _e: &Box<dyn ActionTrait>)
fn handle_signal(&mut self, _cx: &mut Cx)
fn handle_audio_devices(&mut self, _cx: &mut Cx, _e: &AudioDevicesEvent)
fn handle_midi_ports(&mut self, _cx: &mut Cx, _e: &MidiPortsEvent)
fn handle_video_inputs(&mut self, _cx: &mut Cx, _e: &VideoInputsEvent)
fn handle_http_response( &mut self, _cx: &mut Cx, _request_id: LiveId, _response: &HttpResponse, )
fn handle_http_request_error( &mut self, _cx: &mut Cx, _request_id: LiveId, _err: &HttpError, )
fn handle_http_progress( &mut self, _cx: &mut Cx, _request_id: LiveId, _progress: &HttpProgress, )
fn handle_http_stream( &mut self, _cx: &mut Cx, _request_id: LiveId, _data: &HttpResponse, )
fn handle_http_stream_complete( &mut self, _cx: &mut Cx, _request_id: LiveId, _data: &HttpResponse, )
fn handle_network_responses( &mut self, cx: &mut Cx, e: &Vec<NetworkResponseItem>, )
fn handle_draw(&mut self, _cx: &mut Cx, _e: &DrawEvent)
fn handle_timer(&mut self, _cx: &mut Cx, _e: &TimerEvent)
fn handle_draw_2d(&mut self, _cx: &mut Cx2d<'_, '_>)
fn handle_key_down(&mut self, _cx: &mut Cx, _e: &KeyEvent)
fn handle_key_up(&mut self, _cx: &mut Cx, _e: &KeyEvent)
Source§fn handle_back_pressed(&mut self, _cx: &mut Cx) -> bool
fn handle_back_pressed(&mut self, _cx: &mut Cx) -> bool
Handles the
Event::BackPressed event. Read morefn match_event(&mut self, cx: &mut Cx, event: &Event)
fn match_event_with_draw_2d( &mut self, cx: &mut Cx, event: &Event, ) -> Result<(), ()>
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