pub struct Textbox {
pub text: Property<String>,
pub background: Property<Color>,
pub stroke: Property<Stroke>,
pub border_radius: Property<Numeric>,
pub style: Property<TextStyle>,
pub focus_on_mount: Property<bool>,
}Expand description
A platform-native text input field
Fields§
§text: Property<String>§background: Property<Color>§stroke: Property<Stroke>§border_radius: Property<Numeric>§style: Property<TextStyle>§focus_on_mount: Property<bool>Trait Implementations§
source§impl CoercionRules for Textbox
impl CoercionRules for Textbox
source§impl<'de> Deserialize<'de> for Textbox
impl<'de> Deserialize<'de> for Textbox
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 Textbox
impl HelperFunctions for Textbox
source§impl Interpolatable for Textbox
impl Interpolatable for Textbox
fn interpolate(&self, _other: &Self, _t: f64) -> Self
source§impl ToPaxValue for Textbox
impl ToPaxValue for Textbox
fn to_pax_value(self) -> PaxValue
impl ImplToFromPaxAny for Textbox
Auto Trait Implementations§
impl Freeze for Textbox
impl RefUnwindSafe for Textbox
impl Send for Textbox
impl Sync for Textbox
impl Unpin for Textbox
impl UnwindSafe for Textbox
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.