pub struct Button { /* private fields */ }Implementations
sourceimpl Button
impl Button
pub fn set_active(self, style: Style) -> Self
pub fn set_hovered(self, style: Style) -> Self
pub fn set_pressed(self, style: Style) -> Self
pub fn disabled(self, style: Style) -> Self
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Button
impl Send for Button
impl Sync for Button
impl Unpin for Button
impl UnwindSafe for Button
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more