Trait vizia::views::ToggleButtonModifiers

source ·
pub trait ToggleButtonModifiers {
    // Required method
    fn on_toggle(
        self,
        callback: impl Fn(&mut EventContext<'_>) + 'static,
    ) -> Self;
}

Required Methods§

source

fn on_toggle(self, callback: impl Fn(&mut EventContext<'_>) + 'static) -> Self

Object Safety§

This trait is not object safe.

Implementors§