pub struct EuvInputGroupButtonProps {
pub size: EuvInputGroupButtonSize,
pub label: &'static str,
pub onclick: Option<Rc<dyn Fn(Event)>>,
}Expand description
Props for the euv_input_group_button component.
Fields§
§size: EuvInputGroupButtonSizeThe size of the button.
label: &'static strThe label of the button.
onclick: Option<Rc<dyn Fn(Event)>>Optional click event handler.
Implementations§
Source§impl EuvInputGroupButtonProps
impl EuvInputGroupButtonProps
pub fn get_size(&self) -> EuvInputGroupButtonSize
pub fn get_mut_size(&mut self) -> &mut EuvInputGroupButtonSize
pub fn set_size(&mut self, val: EuvInputGroupButtonSize) -> &mut Self
pub fn get_label(&self) -> &'static str
pub fn get_mut_label(&mut self) -> &mut &'static str
pub fn set_label(&mut self, val: &'static str) -> &mut Self
pub fn get_onclick(&self) -> Rc<dyn Fn(Event) + 'static>
pub fn try_get_onclick(&self) -> &Option<Rc<dyn Fn(Event) + 'static>>
pub fn get_mut_onclick(&mut self) -> &mut Option<Rc<dyn Fn(Event) + 'static>>
pub fn set_onclick( &mut self, val: Option<Rc<dyn Fn(Event) + 'static>>, ) -> &mut Self
Trait Implementations§
Source§impl Clone for EuvInputGroupButtonProps
impl Clone for EuvInputGroupButtonProps
Source§impl Debug for EuvInputGroupButtonProps
impl Debug for EuvInputGroupButtonProps
Auto Trait Implementations§
impl !RefUnwindSafe for EuvInputGroupButtonProps
impl !Send for EuvInputGroupButtonProps
impl !Sync for EuvInputGroupButtonProps
impl !UnwindSafe for EuvInputGroupButtonProps
impl Forget for EuvInputGroupButtonProps
impl Freeze for EuvInputGroupButtonProps
impl Move for EuvInputGroupButtonProps
impl Unpin for EuvInputGroupButtonProps
impl UnsafeUnpin for EuvInputGroupButtonProps
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