YoleckAutoEdit

Trait YoleckAutoEdit 

Source
pub trait YoleckAutoEdit:
    Send
    + Sync
    + 'static {
    // Required method
    fn auto_edit(value: &mut Self, ui: &mut Ui);

    // Provided methods
    fn auto_edit_with_label_and_attrs(
        value: &mut Self,
        ui: &mut Ui,
        label: &str,
        attrs: &FieldAttrs,
    ) { ... }
    fn auto_edit_field_impl(
        value: &mut Self,
        ui: &mut Ui,
        label: &str,
        attrs: &FieldAttrs,
    ) { ... }
}

Required Methods§

Source

fn auto_edit(value: &mut Self, ui: &mut Ui)

Provided Methods§

Source

fn auto_edit_with_label_and_attrs( value: &mut Self, ui: &mut Ui, label: &str, attrs: &FieldAttrs, )

Auto-edit with field-level attributes (label, tooltip, range, etc.) Default implementation wraps auto_edit with label and common decorations

Source

fn auto_edit_field_impl( value: &mut Self, ui: &mut Ui, label: &str, attrs: &FieldAttrs, )

Internal implementation for field rendering with label Types can override this to customize behavior based on attributes

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.

Implementations on Foreign Types§

Source§

impl YoleckAutoEdit for bool

Source§

fn auto_edit(value: &mut Self, ui: &mut Ui)

Source§

fn auto_edit_field_impl( value: &mut Self, ui: &mut Ui, label: &str, attrs: &FieldAttrs, )

Source§

impl YoleckAutoEdit for f32

Source§

fn auto_edit(value: &mut Self, ui: &mut Ui)

Source§

fn auto_edit_field_impl( value: &mut Self, ui: &mut Ui, label: &str, attrs: &FieldAttrs, )

Source§

impl YoleckAutoEdit for f64

Source§

fn auto_edit(value: &mut Self, ui: &mut Ui)

Source§

fn auto_edit_field_impl( value: &mut Self, ui: &mut Ui, label: &str, attrs: &FieldAttrs, )

Source§

impl YoleckAutoEdit for i32

Source§

fn auto_edit(value: &mut Self, ui: &mut Ui)

Source§

fn auto_edit_field_impl( value: &mut Self, ui: &mut Ui, label: &str, attrs: &FieldAttrs, )

Source§

impl YoleckAutoEdit for i64

Source§

fn auto_edit(value: &mut Self, ui: &mut Ui)

Source§

fn auto_edit_field_impl( value: &mut Self, ui: &mut Ui, label: &str, attrs: &FieldAttrs, )

Source§

impl YoleckAutoEdit for isize

Source§

fn auto_edit(value: &mut Self, ui: &mut Ui)

Source§

fn auto_edit_field_impl( value: &mut Self, ui: &mut Ui, label: &str, attrs: &FieldAttrs, )

Source§

impl YoleckAutoEdit for u32

Source§

fn auto_edit(value: &mut Self, ui: &mut Ui)

Source§

fn auto_edit_field_impl( value: &mut Self, ui: &mut Ui, label: &str, attrs: &FieldAttrs, )

Source§

impl YoleckAutoEdit for u64

Source§

fn auto_edit(value: &mut Self, ui: &mut Ui)

Source§

fn auto_edit_field_impl( value: &mut Self, ui: &mut Ui, label: &str, attrs: &FieldAttrs, )

Source§

impl YoleckAutoEdit for usize

Source§

fn auto_edit(value: &mut Self, ui: &mut Ui)

Source§

fn auto_edit_field_impl( value: &mut Self, ui: &mut Ui, label: &str, attrs: &FieldAttrs, )

Source§

impl YoleckAutoEdit for String

Source§

fn auto_edit(value: &mut Self, ui: &mut Ui)

Source§

fn auto_edit_field_impl( value: &mut Self, ui: &mut Ui, label: &str, attrs: &FieldAttrs, )

Source§

impl YoleckAutoEdit for Quat

Source§

fn auto_edit(value: &mut Self, ui: &mut Ui)

Source§

fn auto_edit_field_impl( value: &mut Self, ui: &mut Ui, label: &str, attrs: &FieldAttrs, )

Source§

impl YoleckAutoEdit for Vec4

Source§

fn auto_edit(value: &mut Self, ui: &mut Ui)

Source§

fn auto_edit_field_impl( value: &mut Self, ui: &mut Ui, label: &str, attrs: &FieldAttrs, )

Source§

impl YoleckAutoEdit for Vec2

Source§

fn auto_edit(value: &mut Self, ui: &mut Ui)

Source§

fn auto_edit_field_impl( value: &mut Self, ui: &mut Ui, label: &str, attrs: &FieldAttrs, )

Source§

impl YoleckAutoEdit for Vec3

Source§

fn auto_edit(value: &mut Self, ui: &mut Ui)

Source§

fn auto_edit_field_impl( value: &mut Self, ui: &mut Ui, label: &str, attrs: &FieldAttrs, )

Source§

impl YoleckAutoEdit for Color

Source§

fn auto_edit(value: &mut Self, ui: &mut Ui)

Source§

fn auto_edit_field_impl( value: &mut Self, ui: &mut Ui, label: &str, attrs: &FieldAttrs, )

Source§

impl<T: YoleckAutoEdit + Default> YoleckAutoEdit for Option<T>

Source§

fn auto_edit(value: &mut Self, ui: &mut Ui)

Source§

fn auto_edit_field_impl( value: &mut Self, ui: &mut Ui, label: &str, attrs: &FieldAttrs, )

Source§

impl<T: YoleckAutoEdit + Default> YoleckAutoEdit for Vec<T>

Source§

fn auto_edit(value: &mut Self, ui: &mut Ui)

Source§

fn auto_edit_field_impl( value: &mut Self, ui: &mut Ui, label: &str, attrs: &FieldAttrs, )

Source§

impl<T: YoleckAutoEdit> YoleckAutoEdit for [T]

Source§

fn auto_edit(value: &mut Self, ui: &mut Ui)

Implementors§