[−][src]Struct geng_ui::EventHandler
Trait Implementations
impl<T, R: AsMut<T>, F> AsMut<T> for EventHandler<R, F>
[src]
impl<T, R: AsRef<T>, F> AsRef<T> for EventHandler<R, F>
[src]
impl<T: Widget, F: FnMut(&Event)> Widget for EventHandler<T, F>
[src]
fn core(&self) -> &WidgetCore
[src]
fn core_mut(&mut self) -> &mut WidgetCore
[src]
fn calc_constraints(&mut self)
[src]
fn layout_children(&mut self)
[src]
fn update(&mut self, delta_time: f64)
[src]
fn draw(&mut self, framebuffer: &mut Framebuffer<'_>)
[src]
fn handle_event(&mut self, event: &Event)
[src]
fn walk_children_mut<'a>(&mut self, f: Box<dyn FnMut(&mut dyn Widget) + 'a>)
[src]
Auto Trait Implementations
impl<T, F> RefUnwindSafe for EventHandler<T, F> where
F: RefUnwindSafe,
T: RefUnwindSafe,
F: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, F> Send for EventHandler<T, F> where
F: Send,
T: Send,
F: Send,
T: Send,
impl<T, F> Sync for EventHandler<T, F> where
F: Sync,
T: Sync,
F: Sync,
T: Sync,
impl<T, F> Unpin for EventHandler<T, F> where
F: Unpin,
T: Unpin,
F: Unpin,
T: Unpin,
impl<T, F> UnwindSafe for EventHandler<T, F> where
F: UnwindSafe,
T: UnwindSafe,
F: UnwindSafe,
T: 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> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,