Struct panoramix::backend::DruidAppData [−][src]
The type we use for app data for Druid integration.
Currently this is action queues.
It should probably be a vec of actions, but we can refine later. For button clicks it doesn’t matter.
Trait Implementations
impl Clone for DruidAppData
[src]
fn clone(&self) -> DruidAppData
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Data for DruidAppData
[src]
impl Default for DruidAppData
[src]
fn default() -> DruidAppData
[src]
impl<RootElem: Element<NoEvent, ()> + Clone + 'static> Widget<DruidAppData> for RootWidget<RootElem>
[src]
fn event(
&mut self,
ctx: &mut EventCtx<'_, '_>,
event: &Event,
data: &mut DruidAppData,
env: &Env
)
[src]
&mut self,
ctx: &mut EventCtx<'_, '_>,
event: &Event,
data: &mut DruidAppData,
env: &Env
)
fn lifecycle(
&mut self,
ctx: &mut LifeCycleCtx<'_, '_>,
event: &LifeCycle,
data: &DruidAppData,
env: &Env
)
[src]
&mut self,
ctx: &mut LifeCycleCtx<'_, '_>,
event: &LifeCycle,
data: &DruidAppData,
env: &Env
)
fn update(
&mut self,
ctx: &mut UpdateCtx<'_, '_>,
_old_data: &DruidAppData,
data: &DruidAppData,
env: &Env
)
[src]
&mut self,
ctx: &mut UpdateCtx<'_, '_>,
_old_data: &DruidAppData,
data: &DruidAppData,
env: &Env
)
fn layout(
&mut self,
ctx: &mut LayoutCtx<'_, '_>,
bc: &BoxConstraints,
data: &DruidAppData,
env: &Env
) -> Size
[src]
&mut self,
ctx: &mut LayoutCtx<'_, '_>,
bc: &BoxConstraints,
data: &DruidAppData,
env: &Env
) -> Size
fn paint(
&mut self,
ctx: &mut PaintCtx<'_, '_, '_>,
data: &DruidAppData,
env: &Env
)
[src]
&mut self,
ctx: &mut PaintCtx<'_, '_, '_>,
data: &DruidAppData,
env: &Env
)
impl Widget<DruidAppData> for CheckboxWidget
[src]
fn event(
&mut self,
ctx: &mut EventCtx<'_, '_>,
event: &Event,
data: &mut DruidAppData,
env: &Env
)
[src]
&mut self,
ctx: &mut EventCtx<'_, '_>,
event: &Event,
data: &mut DruidAppData,
env: &Env
)
fn lifecycle(
&mut self,
ctx: &mut LifeCycleCtx<'_, '_>,
event: &LifeCycle,
_data: &DruidAppData,
env: &Env
)
[src]
&mut self,
ctx: &mut LifeCycleCtx<'_, '_>,
event: &LifeCycle,
_data: &DruidAppData,
env: &Env
)
fn update(
&mut self,
ctx: &mut UpdateCtx<'_, '_>,
_old_data: &DruidAppData,
_data: &DruidAppData,
env: &Env
)
[src]
&mut self,
ctx: &mut UpdateCtx<'_, '_>,
_old_data: &DruidAppData,
_data: &DruidAppData,
env: &Env
)
fn layout(
&mut self,
ctx: &mut LayoutCtx<'_, '_>,
bc: &BoxConstraints,
_data: &DruidAppData,
env: &Env
) -> Size
[src]
&mut self,
ctx: &mut LayoutCtx<'_, '_>,
bc: &BoxConstraints,
_data: &DruidAppData,
env: &Env
) -> Size
fn paint(
&mut self,
ctx: &mut PaintCtx<'_, '_, '_>,
_data: &DruidAppData,
env: &Env
)
[src]
&mut self,
ctx: &mut PaintCtx<'_, '_, '_>,
_data: &DruidAppData,
env: &Env
)
impl<Children: WidgetSequence> Widget<DruidAppData> for FlexWidget<Children>
[src]
fn event(
&mut self,
ctx: &mut EventCtx<'_, '_>,
event: &Event,
data: &mut DruidAppData,
env: &Env
)
[src]
&mut self,
ctx: &mut EventCtx<'_, '_>,
event: &Event,
data: &mut DruidAppData,
env: &Env
)
fn lifecycle(
&mut self,
ctx: &mut LifeCycleCtx<'_, '_>,
event: &LifeCycle,
data: &DruidAppData,
env: &Env
)
[src]
&mut self,
ctx: &mut LifeCycleCtx<'_, '_>,
event: &LifeCycle,
data: &DruidAppData,
env: &Env
)
fn update(
&mut self,
ctx: &mut UpdateCtx<'_, '_>,
old_data: &DruidAppData,
data: &DruidAppData,
env: &Env
)
[src]
&mut self,
ctx: &mut UpdateCtx<'_, '_>,
old_data: &DruidAppData,
data: &DruidAppData,
env: &Env
)
fn layout(
&mut self,
ctx: &mut LayoutCtx<'_, '_>,
bc: &BoxConstraints,
data: &DruidAppData,
env: &Env
) -> Size
[src]
&mut self,
ctx: &mut LayoutCtx<'_, '_>,
bc: &BoxConstraints,
data: &DruidAppData,
env: &Env
) -> Size
fn paint(
&mut self,
ctx: &mut PaintCtx<'_, '_, '_>,
data: &DruidAppData,
env: &Env
)
[src]
&mut self,
ctx: &mut PaintCtx<'_, '_, '_>,
data: &DruidAppData,
env: &Env
)
Auto Trait Implementations
impl RefUnwindSafe for DruidAppData
impl Send for DruidAppData
impl Sync for DruidAppData
impl Unpin for DruidAppData
impl UnwindSafe for DruidAppData
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> RoundFrom<T> for T
pub fn round_from(x: T) -> T
impl<T, U> RoundInto<U> for T where
U: RoundFrom<T>,
U: RoundFrom<T>,
pub fn round_into(self) -> U
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,