Skip to main content

DropZoneStyle

Trait DropZoneStyle 

Source
pub trait DropZoneStyle: 'static {
    // Required method
    fn make_body(
        &self,
        cfg: &DropZoneStyleConfig,
        ctx: &mut BuildContext<'_>,
    ) -> WidgetId;
}
Expand description

Tier-3 style protocol for DropZone. Produces the bordered, tinted body the content sits in.

Required Methods§

Source

fn make_body( &self, cfg: &DropZoneStyleConfig, ctx: &mut BuildContext<'_>, ) -> WidgetId

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§