Enum fyrox_ui::numeric::NumericUpDownMessage
source · pub enum NumericUpDownMessage<T: NumericType> {
Value(T),
MinValue(T),
MaxValue(T),
Step(T),
Precision(usize),
}Variants§
Implementations§
source§impl<T: NumericType> NumericUpDownMessage<T>
impl<T: NumericType> NumericUpDownMessage<T>
pub fn value(
destination: Handle<UiNode>,
direction: MessageDirection,
value: T
) -> UiMessage
pub fn min_value(
destination: Handle<UiNode>,
direction: MessageDirection,
value: T
) -> UiMessage
pub fn max_value(
destination: Handle<UiNode>,
direction: MessageDirection,
value: T
) -> UiMessage
pub fn step(
destination: Handle<UiNode>,
direction: MessageDirection,
value: T
) -> UiMessage
pub fn precision(
destination: Handle<UiNode>,
direction: MessageDirection,
precision: usize
) -> UiMessage
Trait Implementations§
source§impl<T: Clone + NumericType> Clone for NumericUpDownMessage<T>
impl<T: Clone + NumericType> Clone for NumericUpDownMessage<T>
source§fn clone(&self) -> NumericUpDownMessage<T>
fn clone(&self) -> NumericUpDownMessage<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: Debug + NumericType> Debug for NumericUpDownMessage<T>
impl<T: Debug + NumericType> Debug for NumericUpDownMessage<T>
source§impl<T: PartialEq + NumericType> PartialEq<NumericUpDownMessage<T>> for NumericUpDownMessage<T>
impl<T: PartialEq + NumericType> PartialEq<NumericUpDownMessage<T>> for NumericUpDownMessage<T>
source§fn eq(&self, other: &NumericUpDownMessage<T>) -> bool
fn eq(&self, other: &NumericUpDownMessage<T>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<T: Eq + NumericType> Eq for NumericUpDownMessage<T>
impl<T: NumericType> StructuralEq for NumericUpDownMessage<T>
impl<T: NumericType> StructuralPartialEq for NumericUpDownMessage<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for NumericUpDownMessage<T>where
T: RefUnwindSafe,
impl<T> Send for NumericUpDownMessage<T>
impl<T> Sync for NumericUpDownMessage<T>
impl<T> Unpin for NumericUpDownMessage<T>where
T: Unpin,
impl<T> UnwindSafe for NumericUpDownMessage<T>where
T: UnwindSafe,
Blanket Implementations§
source§impl<T> FieldValue for Twhere
T: 'static,
impl<T> FieldValue for Twhere
T: 'static,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.