Trait DropTargetStyle
pub trait DropTargetStyle: 'static {
// Required method
fn make_body(
&self,
cfg: &DropTargetStyleConfig,
ctx: &mut BuildContext<'_>,
) -> WidgetId;
}Expand description
Tier-3 style protocol for DropTarget.
Produces the body: the wrapped child plus the reactive overlay and the
optional centered hint.
Required Methods§
fn make_body( &self, cfg: &DropTargetStyleConfig, ctx: &mut BuildContext<'_>, ) -> WidgetId
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".