pub struct ButtonMatrixButton {
pub label: String,
pub control: ButtonMatrixControl,
pub width: u8,
}Expand description
A single button cell within a ButtonMatrix.
Fields§
§label: StringDisplay label for the button.
control: ButtonMatrixControlAppearance and behavior flags.
width: u8Relative width weight (1–15); buttons in a row share its total width proportionally.
Auto Trait Implementations§
impl Freeze for ButtonMatrixButton
impl RefUnwindSafe for ButtonMatrixButton
impl Send for ButtonMatrixButton
impl Sync for ButtonMatrixButton
impl Unpin for ButtonMatrixButton
impl UnsafeUnpin for ButtonMatrixButton
impl UnwindSafe for ButtonMatrixButton
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