Struct yewprint::SliderProps
source · pub struct SliderProps<T: ImplicitClone + PartialEq + 'static> {
pub class: Classes,
pub vertical: bool,
pub intent: Option<Intent>,
pub value_label: Option<AttrValue>,
pub onchange: Callback<T>,
pub values: IArray<(T, Option<AttrValue>)>,
pub selected: Option<T>,
}Fields§
§class: Classes§vertical: bool§intent: Option<Intent>§value_label: Option<AttrValue>§onchange: Callback<T>§values: IArray<(T, Option<AttrValue>)>§selected: Option<T>Trait Implementations§
source§impl<T: Clone + ImplicitClone + PartialEq + 'static> Clone for SliderProps<T>
impl<T: Clone + ImplicitClone + PartialEq + 'static> Clone for SliderProps<T>
source§fn clone(&self) -> SliderProps<T>
fn clone(&self) -> SliderProps<T>
Returns a copy 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<T: PartialEq + ImplicitClone + PartialEq + 'static> PartialEq<SliderProps<T>> for SliderProps<T>
impl<T: PartialEq + ImplicitClone + PartialEq + 'static> PartialEq<SliderProps<T>> for SliderProps<T>
source§fn eq(&self, other: &SliderProps<T>) -> bool
fn eq(&self, other: &SliderProps<T>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<T: ImplicitClone + PartialEq + 'static> Properties for SliderProps<T>
impl<T: ImplicitClone + PartialEq + 'static> Properties for SliderProps<T>
impl<T: ImplicitClone + PartialEq + 'static> StructuralPartialEq for SliderProps<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for SliderProps<T>
impl<T> !Send for SliderProps<T>
impl<T> !Sync for SliderProps<T>
impl<T> Unpin for SliderProps<T>where
T: Unpin,
impl<T> !UnwindSafe for SliderProps<T>
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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.