logo
pub trait InspectRenderDefault<T> {
    fn render(
        data: &[&T],
        label: &'static str,
        ui: &mut Ui,
        args: &InspectArgsDefault
    ); fn render_mut(
        data: &mut [&mut T],
        label: &'static str,
        ui: &mut Ui,
        args: &InspectArgsDefault
    ) -> bool; }
Expand description

Renders a value using the default widget

Required Methods

Render the element in an immutable way (i.e. static text)

Render the element in a mutable way. Using this trait, the default widget to use is based on the type.

Implementations on Foreign Types

Implementors