Skip to main content

RemoteControlsSection

Trait RemoteControlsSection 

Source
pub trait RemoteControlsSection {
    type Page: RemoteControlsPage;

    // Required method
    fn add_page(
        &mut self,
        name: impl Into<String>,
        f: impl FnOnce(&mut Self::Page),
    );
}
Expand description

A section or group of parameter pages. Empty sections will not be visible when using the plugin.

Required Associated Types§

Required Methods§

Source

fn add_page(&mut self, name: impl Into<String>, f: impl FnOnce(&mut Self::Page))

Add a named parameter page to the section. See the documentation of RemoteControlsPage for more information.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§