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>>,
}Fields§
§min: Option<f32>§max: Option<f32>§value: Option<Signal<f32>>§disabled: Option<bool>§class: Option<&'static str>§children: Option<Vec<NodeBlueprint>>Implementations§
Source§impl SliderBuilder
impl SliderBuilder
pub fn min(self, val: impl Into<f32>) -> Self
pub fn max(self, val: impl Into<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 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