pub struct Checkbox {
pub background: Property<Color>,
pub background_checked: Property<Color>,
pub outline: Property<Stroke>,
pub border_radius: Property<f64>,
pub checked: Property<bool>,
}Expand description
A platform-native checkbox element
Fields§
§background: Property<Color>§background_checked: Property<Color>§outline: Property<Stroke>§border_radius: Property<f64>§checked: Property<bool>Trait Implementations§
source§impl CoercionRules for Checkbox
impl CoercionRules for Checkbox
source§impl<'de> Deserialize<'de> for Checkbox
impl<'de> Deserialize<'de> for Checkbox
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl HelperFunctions for Checkbox
impl HelperFunctions for Checkbox
source§impl Interpolatable for Checkbox
impl Interpolatable for Checkbox
fn interpolate(&self, _other: &Self, _t: f64) -> Self
source§impl ToPaxValue for Checkbox
impl ToPaxValue for Checkbox
fn to_pax_value(self) -> PaxValue
impl ImplToFromPaxAny for Checkbox
Auto Trait Implementations§
impl Freeze for Checkbox
impl RefUnwindSafe for Checkbox
impl Send for Checkbox
impl Sync for Checkbox
impl Unpin for Checkbox
impl UnwindSafe for Checkbox
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.