pub struct GButtonProps {Show 25 fields
pub id: AttrValue,
pub label: AttrValue,
pub button_type: AttrValue,
pub style: GButtonStyle,
pub outlined_border_color: Option<AttrValue>,
pub font_size: AttrValue,
pub onclick: Option<Callback<PointerEvent>>,
pub class: AttrValue,
pub height: AttrValue,
pub width: Option<AttrValue>,
pub children: Html,
pub parent: DependsOn,
pub background_color: AttrValue,
pub label_color: AttrValue,
pub border_radius: AttrValue,
pub has_icon: Option<AttrValue>,
pub trailing_icon: bool,
pub icon_style: Option<GIconStyle>,
pub autofocus: bool,
pub fill: bool,
pub wght: AttrValue,
pub grade: AttrValue,
pub opsz: AttrValue,
pub dark_theame: bool,
pub disabled: bool,
}Fields§
§id: AttrValue§label: AttrValue§style: GButtonStyle§outlined_border_color: Option<AttrValue>§font_size: AttrValue§onclick: Option<Callback<PointerEvent>>§class: AttrValue§height: AttrValue§width: Option<AttrValue>§children: Html§parent: DependsOn§background_color: AttrValue§label_color: AttrValue§border_radius: AttrValue§has_icon: Option<AttrValue>§trailing_icon: bool§icon_style: Option<GIconStyle>§autofocus: bool§fill: bool§wght: AttrValue§grade: AttrValue§opsz: AttrValue§dark_theame: bool§disabled: boolTrait Implementations§
Source§impl PartialEq for GButtonProps
impl PartialEq for GButtonProps
Source§impl Properties for GButtonProps
impl Properties for GButtonProps
impl StructuralPartialEq for GButtonProps
Auto Trait Implementations§
impl Freeze for GButtonProps
impl !RefUnwindSafe for GButtonProps
impl !Send for GButtonProps
impl !Sync for GButtonProps
impl Unpin for GButtonProps
impl !UnwindSafe for GButtonProps
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.