Skip to main content

WidgetInfoBuilderMouseExt

Trait WidgetInfoBuilderMouseExt 

Source
pub trait WidgetInfoBuilderMouseExt {
    // Required method
    fn set_click_mode(&mut self, mode: Option<ClickMode>);
}
Expand description

Mouse config builder methods.

Required Methods§

Source

fn set_click_mode(&mut self, mode: Option<ClickMode>)

Sets the click mode of the widget.

Setting this to None will cause the widget to inherit the click mode.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl WidgetInfoBuilderMouseExt for WidgetInfoBuilder

Implementors§