pub struct Button {
pub id: &'static str,
/* private fields */
}Expand description
A struct of button for interact with the GUI.
Fields
id: &'static strThe id is not unique, it’s just a name to identify it.
Implementations
sourceimpl Button
impl Button
Trait Implementations
impl Copy for Button
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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