pub struct EuvButtonGroupButtonProps {
pub variant: EuvButtonVariant,
pub size: EuvButtonSize,
pub label: &'static str,
pub onclick: Option<Rc<dyn Fn(Event)>>,
pub disabled: Signal<bool>,
}Expand description
Props for the euv_button_group_button component.
A button inside a group carries the same settings a plain button carries: the variant, the size and the label.
Fields§
§variant: EuvButtonVariantThe visual variant determining colour scheme.
size: EuvButtonSizeThe size of the control.
label: &'static strThe button label text, used as fallback when no children are provided.
onclick: Option<Rc<dyn Fn(Event)>>Optional click event handler.
disabled: Signal<bool>Whether the button is disabled.
Trait Implementations§
Source§impl Clone for EuvButtonGroupButtonProps
impl Clone for EuvButtonGroupButtonProps
Source§impl Debug for EuvButtonGroupButtonProps
impl Debug for EuvButtonGroupButtonProps
Auto Trait Implementations§
impl !RefUnwindSafe for EuvButtonGroupButtonProps
impl !Send for EuvButtonGroupButtonProps
impl !Sync for EuvButtonGroupButtonProps
impl !UnwindSafe for EuvButtonGroupButtonProps
impl Forget for EuvButtonGroupButtonProps
impl Freeze for EuvButtonGroupButtonProps
impl Move for EuvButtonGroupButtonProps
impl Unpin for EuvButtonGroupButtonProps
impl UnsafeUnpin for EuvButtonGroupButtonProps
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