pub struct Button {
pub label: Property<String>,
pub color: Property<Color>,
pub hover_color: Property<Color>,
pub border_radius: Property<f64>,
pub outline: Property<Stroke>,
pub style: Property<TextStyle>,
}Fields§
§label: Property<String>§color: Property<Color>§hover_color: Property<Color>§border_radius: Property<f64>§outline: Property<Stroke>§style: Property<TextStyle>Trait Implementations§
source§impl<'de> Deserialize<'de> for Button
impl<'de> Deserialize<'de> for Button
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Button, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Button, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl HelperFunctions for Button
impl HelperFunctions for Button
source§impl Interpolatable for Button
impl Interpolatable for Button
fn interpolate(&self, _other: &Self, _t: f64) -> Self
source§impl Serialize for Button
impl Serialize for Button
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl ToPaxValue for Button
impl ToPaxValue for Button
fn to_pax_value(self) -> PaxValue
impl ImplToFromPaxAny for Button
Auto Trait Implementations§
impl Freeze for Button
impl RefUnwindSafe for Button
impl Send for Button
impl Sync for Button
impl Unpin for Button
impl UnwindSafe for Button
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.