Struct raui_core::application::Application[][src]

pub struct Application {
    pub animations_delta_time: Scalar,
    // some fields omitted
}

Fields

animations_delta_time: Scalar

Implementations

impl Application[src]

pub fn new() -> Self[src]

pub fn setup<F>(&mut self, f: F) where
    F: FnMut(&mut Self), 
[src]

pub fn register_component(&mut self, type_name: &str, processor: FnWidget)[src]

pub fn unregister_component(&mut self, type_name: &str)[src]

pub fn register_props<T>(&mut self, name: &str) where
    T: 'static + Prefab + PropsData
[src]

pub fn unregister_factory(&mut self, name: &str)[src]

pub fn serialize_props(&self, props: &Props) -> Result<PrefabValue, PrefabError>[src]

pub fn deserialize_props(&self, data: PrefabValue) -> Result<Props, PrefabError>[src]

pub fn serialize_node(
    &self,
    data: &WidgetNode
) -> Result<PrefabValue, ApplicationError>
[src]

pub fn deserialize_node(
    &self,
    data: PrefabValue
) -> Result<WidgetNode, ApplicationError>
[src]

pub fn last_invalidation_cause(&self) -> &InvalidationCause[src]

pub fn is_dirty(&self) -> bool[src]

pub fn mark_dirty(&mut self)[src]

pub fn does_render_changed(&self) -> bool[src]

pub fn tree(&self) -> &WidgetNode[src]

pub fn rendered_tree(&self) -> &WidgetUnit[src]

pub fn layout_data(&self) -> &Layout[src]

pub fn has_layout_widget(&self, id: &WidgetId) -> bool[src]

pub fn apply(&mut self, tree: WidgetNode)[src]

pub fn render<R, T, E>(
    &self,
    mapping: &CoordsMapping,
    renderer: &mut R
) -> Result<T, E> where
    R: Renderer<T, E>, 
[src]

pub fn render_change<R, T, E>(
    &mut self,
    mapping: &CoordsMapping,
    renderer: &mut R
) -> Result<Option<T>, E> where
    R: Renderer<T, E>, 
[src]

pub fn layout<L, E>(
    &mut self,
    mapping: &CoordsMapping,
    layout_engine: &mut L
) -> Result<(), E> where
    L: LayoutEngine<E>, 
[src]

pub fn layout_change<L, E>(
    &mut self,
    mapping: &CoordsMapping,
    layout_engine: &mut L
) -> Result<bool, E> where
    L: LayoutEngine<E>, 
[src]

pub fn interact<I, R, E>(&mut self, interactions_engine: &mut I) -> Result<R, E> where
    I: InteractionsEngine<R, E>, 
[src]

pub fn send_message<T>(&mut self, id: &WidgetId, data: T) where
    T: 'static + Any + Send + Sync
[src]

pub fn send_message_raw(&mut self, id: &WidgetId, data: Message)[src]

pub fn signals(&self) -> &[Signal][src]

pub fn consume_signals(&mut self) -> Vec<Signal>[src]

pub fn forced_process(&mut self) -> bool[src]

pub fn process(&mut self) -> bool[src]

Trait Implementations

impl Default for Application[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.