pub enum BoolStyle {
Checkbox,
Button,
Radio,
Dropdown,
}Expand description
Preferred widget style for boolean fields.
Variants§
Checkbox
Render using a standard ImGui checkbox.
Button
Render using a toggle button with text for true/false.
Radio
Render using two radio buttons (true/false).
Dropdown
Render using a two-item dropdown (false/true).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BoolStyle
impl RefUnwindSafe for BoolStyle
impl Send for BoolStyle
impl Sync for BoolStyle
impl Unpin for BoolStyle
impl UnwindSafe for BoolStyle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more