[−][src]Struct phasmo_rs::app::overlay::Overlay
Implementations
impl<B, F> Overlay<B, F>
[src]
Trait Implementations
impl<T: Data, B, F> Widget<T> for Overlay<B, F> where
B: Widget<T>,
F: Widget<T>,
[src]
B: Widget<T>,
F: Widget<T>,
fn event(
&mut self,
ctx: &mut EventCtx<'_, '_>,
event: &Event,
data: &mut T,
env: &Env
)
[src]
&mut self,
ctx: &mut EventCtx<'_, '_>,
event: &Event,
data: &mut T,
env: &Env
)
fn lifecycle(
&mut self,
ctx: &mut LifeCycleCtx<'_, '_>,
event: &LifeCycle,
data: &T,
env: &Env
)
[src]
&mut self,
ctx: &mut LifeCycleCtx<'_, '_>,
event: &LifeCycle,
data: &T,
env: &Env
)
fn update(
&mut self,
ctx: &mut UpdateCtx<'_, '_>,
old_data: &T,
data: &T,
env: &Env
)
[src]
&mut self,
ctx: &mut UpdateCtx<'_, '_>,
old_data: &T,
data: &T,
env: &Env
)
fn layout(
&mut self,
layout_ctx: &mut LayoutCtx<'_, '_>,
bc: &BoxConstraints,
data: &T,
env: &Env
) -> Size
[src]
&mut self,
layout_ctx: &mut LayoutCtx<'_, '_>,
bc: &BoxConstraints,
data: &T,
env: &Env
) -> Size
fn paint(&mut self, ctx: &mut PaintCtx<'_, '_, '_>, data: &T, env: &Env)
[src]
Auto Trait Implementations
impl<B, F> RefUnwindSafe for Overlay<B, F> where
B: RefUnwindSafe,
F: RefUnwindSafe,
B: RefUnwindSafe,
F: RefUnwindSafe,
impl<B, F> Send for Overlay<B, F> where
B: Send,
F: Send,
B: Send,
F: Send,
impl<B, F> Sync for Overlay<B, F> where
B: Sync,
F: Sync,
B: Sync,
F: Sync,
impl<B, F> Unpin for Overlay<B, F> where
B: Unpin,
F: Unpin,
B: Unpin,
F: Unpin,
impl<B, F> UnwindSafe for Overlay<B, F> where
B: UnwindSafe,
F: UnwindSafe,
B: UnwindSafe,
F: UnwindSafe,
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> RoundFrom<T> for T
fn round_from(x: T) -> T
impl<T, U> RoundInto<U> for T where
U: RoundFrom<T>,
U: RoundFrom<T>,
fn round_into(self) -> U
impl<T> Same<T> for T
type Output = T
Should always be Self
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, W> WidgetExt<T> for W where
T: Data,
W: 'static + Widget<T>,
T: Data,
W: 'static + Widget<T>,
fn padding(self, insets: impl Into<Insets>) -> Padding<T>
fn center(self) -> Align<T>
fn align_left(self) -> Align<T>
fn align_right(self) -> Align<T>
fn align_vertical(self, align: UnitPoint) -> Align<T>
fn align_horizontal(self, align: UnitPoint) -> Align<T>
fn fix_width(self, width: f64) -> SizedBox<T>
fn fix_height(self, height: f64) -> SizedBox<T>
fn fix_size(self, width: f64, height: f64) -> SizedBox<T>
fn expand(self) -> SizedBox<T>
fn expand_width(self) -> SizedBox<T>
fn expand_height(self) -> SizedBox<T>
fn background(self, brush: impl Into<BackgroundBrush<T>>) -> Container<T>
fn border(
self,
color: impl Into<KeyOrValue<Color>>,
width: impl Into<KeyOrValue<f64>>
) -> Container<T>
self,
color: impl Into<KeyOrValue<Color>>,
width: impl Into<KeyOrValue<f64>>
) -> Container<T>
fn env_scope(self, f: impl Fn(&mut Env, &T) + 'static) -> EnvScope<T, Self>
fn controller<C>(self, controller: C) -> ControllerHost<Self, C> where
C: Controller<T, Self>,
C: Controller<T, Self>,
fn on_click(
self,
f: impl Fn(&mut EventCtx<'_, '_>, &mut T, &Env) + 'static
) -> ControllerHost<Self, Click<T>>
self,
f: impl Fn(&mut EventCtx<'_, '_>, &mut T, &Env) + 'static
) -> ControllerHost<Self, Click<T>>
fn debug_paint_layout(self) -> EnvScope<T, Self>
fn debug_widget_id(self) -> EnvScope<T, Self>
fn debug_invalidation(self) -> DebugInvalidation<T, Self>
fn debug_widget(self) -> EnvScope<T, Self>
fn lens<S, L>(self, lens: L) -> LensWrap<T, L, Self> where
L: Lens<S, T>,
S: Data,
L: Lens<S, T>,
S: Data,
fn parse(self) -> Parse<Self> where
Self: Widget<String>,
Self: Widget<String>,