pub struct PurePositiveIntegerInput {Show 23 fields
pub id: Option<Cow<'static, str>>,
pub class: Classes,
pub style: Option<Cow<'static, str>>,
pub tab_index: Option<i16>,
pub name: Option<Cow<'static, str>>,
pub value: Option<u32>,
pub on_input: Option<Callback<<u32 as InputValue>::Result>>,
pub on_change: Option<Callback<Option<<u32 as InputValue>::Result>>>,
pub color: Option<SemanticColor>,
pub size: Option<Size>,
pub rounded: bool,
pub force_hover: bool,
pub force_focus: bool,
pub is_loading: bool,
pub is_disabled: bool,
pub is_readonly: bool,
pub is_static: bool,
pub datalist_id: Option<Cow<'static, str>>,
pub max: Option<u32>,
pub min: Option<u32>,
pub placeholder: Option<Cow<'static, str>>,
pub required: bool,
pub step: Option<Step<u32>>,
}Fields§
§id: Option<Cow<'static, str>>§class: Classes§style: Option<Cow<'static, str>>§tab_index: Option<i16>§name: Option<Cow<'static, str>>§value: Option<u32>§on_input: Option<Callback<<u32 as InputValue>::Result>>§on_change: Option<Callback<Option<<u32 as InputValue>::Result>>>§color: Option<SemanticColor>§size: Option<Size>§rounded: bool§force_hover: bool§force_focus: bool§is_loading: bool§is_disabled: bool§is_readonly: bool§is_static: bool§datalist_id: Option<Cow<'static, str>>The list attribute
See also <datalist>
max: Option<u32>The [max]((https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-max) attribute
min: Option<u32>The [min]((https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-min) attribute
placeholder: Option<Cow<'static, str>>The [placeholder]((https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-placeholder) attribute
required: boolThe [required]((https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-required) attribute
step: Option<Step<u32>>The [step]((https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-step) attribute
Note, for
Trait Implementations§
Source§impl Clone for PurePositiveIntegerInput
impl Clone for PurePositiveIntegerInput
Source§fn clone(&self) -> PurePositiveIntegerInput
fn clone(&self) -> PurePositiveIntegerInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PurePositiveIntegerInput
impl Debug for PurePositiveIntegerInput
Source§impl PartialEq for PurePositiveIntegerInput
impl PartialEq for PurePositiveIntegerInput
impl StructuralPartialEq for PurePositiveIntegerInput
Auto Trait Implementations§
impl Freeze for PurePositiveIntegerInput
impl !RefUnwindSafe for PurePositiveIntegerInput
impl !Send for PurePositiveIntegerInput
impl !Sync for PurePositiveIntegerInput
impl Unpin for PurePositiveIntegerInput
impl !UnwindSafe for PurePositiveIntegerInput
Blanket Implementations§
Source§impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
Source§fn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<Swp, Dwp, T>,
Convert the source color to the destination color using the specified
method
Source§fn adapt_into(self) -> D
fn adapt_into(self) -> D
Convert the source color to the destination color using the bradford
method by default
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§impl<T, U> IntoColor<U> for Twhere
U: FromColor<T>,
impl<T, U> IntoColor<U> for Twhere
U: FromColor<T>,
Source§fn into_color(self) -> U
fn into_color(self) -> U
Convert into T with values clamped to the color defined bounds Read more
Source§impl<T, U> IntoColorUnclamped<U> for Twhere
U: FromColorUnclamped<T>,
impl<T, U> IntoColorUnclamped<U> for Twhere
U: FromColorUnclamped<T>,
Source§fn into_color_unclamped(self) -> U
fn into_color_unclamped(self) -> U
Convert into T. The resulting color might be invalid in its color space Read more
Source§impl<T, V> IntoOptPropValue<V> for Twhere
T: IntoPropValue<Option<V>>,
impl<T, V> IntoOptPropValue<V> for Twhere
T: IntoPropValue<Option<V>>,
Source§fn into_opt_prop_value(self) -> Option<V>
fn into_opt_prop_value(self) -> Option<V>
Convert
self to an optional value of a Properties struct.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.Source§impl<T, U> NeqAssign<U> for T
impl<T, U> NeqAssign<U> for T
Source§fn neq_assign(&mut self, new: U) -> bool
fn neq_assign(&mut self, new: U) -> bool
If
self and new aren’t equal, assigns new to self and returns true, otherwise returns false. Read moreSource§impl<T, U> NeqAssignBy<U> for Twhere
T: BorrowMut<U>,
impl<T, U> NeqAssignBy<U> for Twhere
T: BorrowMut<U>,
Source§impl<T, U> TryIntoColor<U> for Twhere
U: TryFromColor<T>,
impl<T, U> TryIntoColor<U> for Twhere
U: TryFromColor<T>,
Source§fn try_into_color(self) -> Result<U, OutOfBounds<U>>
fn try_into_color(self) -> Result<U, OutOfBounds<U>>
Convert into T, returning ok if the color is inside of its defined
range, otherwise an
OutOfBounds error is returned which contains
the unclamped color. Read more