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