pub struct Switch;Expand description
Renders a bool field as a switch, a checkbox with the switch role drawn as an on/off
track, preceded by a hidden false: what CustomField::switch
renders.
Trait Implementations§
impl Copy for Switch
Auto Trait Implementations§
impl Forget for Switch
impl Freeze for Switch
impl RefUnwindSafe for Switch
impl Send for Switch
impl Sync for Switch
impl Unpin for Switch
impl UnsafeUnpin for Switch
impl UnwindSafe for Switch
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