pub struct NumberInputBuilder {
pub label: Option<&'static str>,
pub value: Option<Signal<i64>>,
pub min: Option<i64>,
pub max: Option<i64>,
pub step: Option<i64>,
pub disabled: Option<bool>,
pub class: Option<&'static str>,
pub children: Option<Vec<NodeBlueprint>>,
pub __strata_key: Option<String>,
}Fields§
§label: Option<&'static str>§value: Option<Signal<i64>>§min: Option<i64>§max: Option<i64>§step: Option<i64>§disabled: Option<bool>§class: Option<&'static str>§children: Option<Vec<NodeBlueprint>>§__strata_key: Option<String>Implementations§
Source§impl NumberInputBuilder
impl NumberInputBuilder
pub fn label(self, val: impl Into<Option<&'static str>>) -> Self
pub fn value(self, val: impl Into<Signal<i64>>) -> Self
pub fn min(self, val: impl Into<Option<i64>>) -> Self
pub fn max(self, val: impl Into<Option<i64>>) -> Self
pub fn step(self, val: impl Into<Option<i64>>) -> Self
pub fn disabled(self, val: impl Into<Option<bool>>) -> Self
pub fn class(self, val: impl Into<Option<&'static str>>) -> Self
pub fn children(self, children: Vec<NodeBlueprint>) -> Self
pub fn key(self, key: impl Display) -> Self
pub fn build(self) -> View
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for NumberInputBuilder
impl !Send for NumberInputBuilder
impl !Sync for NumberInputBuilder
impl !UnwindSafe for NumberInputBuilder
impl Forget for NumberInputBuilder
impl Freeze for NumberInputBuilder
impl Move for NumberInputBuilder
impl Unpin for NumberInputBuilder
impl UnsafeUnpin for NumberInputBuilder
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