pub struct Button<T, F> { /* private fields */ }
Expand description
A widget that performs an action when pressed/tapped.
Implementations§
Trait Implementations§
impl<T: Eq, F: Eq> Eq for Button<T, F>
impl<T, F> StructuralPartialEq for Button<T, F>
Auto Trait Implementations§
impl<T, F> Freeze for Button<T, F>
impl<T, F> RefUnwindSafe for Button<T, F>where
T: RefUnwindSafe,
F: RefUnwindSafe,
impl<T, F> Send for Button<T, F>
impl<T, F> Sync for Button<T, F>
impl<T, F> Unpin for Button<T, F>
impl<T, F> UnwindSafe for Button<T, F>where
T: UnwindSafe,
F: UnwindSafe,
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