pub trait SettingFieldElement {
type Element: IntoElement + 'static;
// Required method
fn render_field(
&self,
options: &RenderOptions,
window: &mut Window,
cx: &mut App,
) -> Self::Element;
}Expand description
A trait for rendering custom setting field elements.
For crate::setting::SettingField::element method.