Struct yewprint::NumericInputProps [−][src]
pub struct NumericInputProps<T> where
T: Add<Output = T> + Sub<Output = T> + Copy + Display + FromStr + PartialEq + PartialOrd + 'static, {Show 15 fields
pub disabled: bool,
pub fill: bool,
pub large: bool,
pub class: String,
pub placeholder: String,
pub left_icon: Option<IconName>,
pub left_element: Option<Html>,
pub right_element: Option<Html>,
pub intent: Option<Intent>,
pub onchange: Callback<T>,
pub value: T,
pub bounds: NumericInputRangeBounds<T>,
pub increment: T,
pub disable_buttons: bool,
pub buttons_on_the_left: bool,
}
Fields
disabled: bool
fill: bool
large: bool
class: String
placeholder: String
left_icon: Option<IconName>
left_element: Option<Html>
right_element: Option<Html>
intent: Option<Intent>
onchange: Callback<T>
value: T
bounds: NumericInputRangeBounds<T>
increment: T
Trait Implementations
impl<T: PartialEq> PartialEq<NumericInputProps<T>> for NumericInputProps<T> where
T: Add<Output = T> + Sub<Output = T> + Copy + Display + FromStr + PartialEq + PartialOrd + 'static,
impl<T: PartialEq> PartialEq<NumericInputProps<T>> for NumericInputProps<T> where
T: Add<Output = T> + Sub<Output = T> + Copy + Display + FromStr + PartialEq + PartialOrd + 'static,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<T> Properties for NumericInputProps<T> where
T: Add<Output = T> + Sub<Output = T> + Copy + Display + FromStr + PartialEq + PartialOrd + 'static,
impl<T> Properties for NumericInputProps<T> where
T: Add<Output = T> + Sub<Output = T> + Copy + Display + FromStr + PartialEq + PartialOrd + 'static,
impl<T> StructuralPartialEq for NumericInputProps<T> where
T: Add<Output = T> + Sub<Output = T> + Copy + Display + FromStr + PartialEq + PartialOrd + 'static,
Auto Trait Implementations
impl<T> !RefUnwindSafe for NumericInputProps<T>
impl<T> !Send for NumericInputProps<T>
impl<T> !Sync for NumericInputProps<T>
impl<T> Unpin for NumericInputProps<T> where
T: Unpin,
impl<T> !UnwindSafe for NumericInputProps<T>
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an optional value of a Properties
struct.
Convert self
to a value of a Properties
struct.
Convert self
to a value of a Properties
struct.
If self
and new
aren’t equal, assigns new
to self
and returns true, otherwise returns false. Read more