Skip to main content

ToggleSwitchProps

Trait ToggleSwitchProps 

Source
pub trait ToggleSwitchProps: ElementBuilder {
    // Provided methods
    fn off_content<M>(self, value: impl IntoProp<Option<BoxedValue>, M>) -> Self { ... }
    fn off_content_template<M>(
        self,
        value: impl IntoProp<Option<Rc<dyn IDataTemplate>>, M>,
    ) -> Self { ... }
    fn on_content<M>(self, value: impl IntoProp<Option<BoxedValue>, M>) -> Self { ... }
    fn on_content_template<M>(
        self,
        value: impl IntoProp<Option<Rc<dyn IDataTemplate>>, M>,
    ) -> Self { ... }
    fn knob_transitions<M>(
        self,
        value: impl IntoProp<Option<Transitions>, M>,
    ) -> Self { ... }
}
Expand description

The properties and routed events of ToggleSwitch.

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§