pub trait WidgetActionCxExt {
// Required methods
fn widget_action(
&mut self,
uid: WidgetUid,
path: &HeapLiveIdPath,
t: impl WidgetActionTrait,
);
fn widget_action_with_data(
&mut self,
action_data: &WidgetActionData,
widget_uid: WidgetUid,
path: &HeapLiveIdPath,
t: impl WidgetActionTrait,
);
fn group_widget_actions<F, R>(
&mut self,
group_id: WidgetUid,
item_id: WidgetUid,
f: F,
) -> R
where F: FnOnce(&mut Cx) -> R;
}
Required Methods§
fn widget_action( &mut self, uid: WidgetUid, path: &HeapLiveIdPath, t: impl WidgetActionTrait, )
fn widget_action_with_data( &mut self, action_data: &WidgetActionData, widget_uid: WidgetUid, path: &HeapLiveIdPath, t: impl WidgetActionTrait, )
fn group_widget_actions<F, R>( &mut self, group_id: WidgetUid, item_id: WidgetUid, f: F, ) -> R
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.