pub trait ListContainerStyle: 'static {
// Required methods
fn make_insertion_indicator(
&self,
cfg: &ListInsertionConfig,
ctx: &mut BuildContext<'_>,
) -> WidgetId;
fn insertion(&self) -> ListInsertionRecipe;
// Provided method
fn drop_into(&self) -> ListDropIntoRecipe { ... }
}Required Methods§
fn make_insertion_indicator( &self, cfg: &ListInsertionConfig, ctx: &mut BuildContext<'_>, ) -> WidgetId
Sourcefn insertion(&self) -> ListInsertionRecipe
fn insertion(&self) -> ListInsertionRecipe
Recipe data for the inline paint pass.
Provided Methods§
Sourcefn drop_into(&self) -> ListDropIntoRecipe
fn drop_into(&self) -> ListDropIntoRecipe
Recipe data for the “drop into this container” highlight. Defaulted, so an existing style needs no change.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".