Enum fyrox_ui::range::RangeEditorMessage
source · pub enum RangeEditorMessage<T>where
T: NumericType,{
Value(Range<T>),
}Expand description
A set of messages, that can be used to modify/fetch the state of a RangeEditor widget instance.
Variants§
Value(Range<T>)
A message, that is used to either modifying or fetching the value of a RangeEditor widget instance.
Implementations§
source§impl<T: NumericType> RangeEditorMessage<T>
impl<T: NumericType> RangeEditorMessage<T>
sourcepub fn value(
destination: Handle<UiNode>,
direction: MessageDirection,
value: Range<T>
) -> UiMessage
pub fn value( destination: Handle<UiNode>, direction: MessageDirection, value: Range<T> ) -> UiMessage
Creates RangeEditorMessage::Value message.
Trait Implementations§
source§impl<T> Debug for RangeEditorMessage<T>where
T: NumericType + Debug,
impl<T> Debug for RangeEditorMessage<T>where T: NumericType + Debug,
source§impl<T> PartialEq for RangeEditorMessage<T>where
T: NumericType + PartialEq,
impl<T> PartialEq for RangeEditorMessage<T>where T: NumericType + PartialEq,
source§fn eq(&self, other: &RangeEditorMessage<T>) -> bool
fn eq(&self, other: &RangeEditorMessage<T>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<T> Eq for RangeEditorMessage<T>where T: NumericType + Eq,
impl<T> StructuralEq for RangeEditorMessage<T>where T: NumericType,
impl<T> StructuralPartialEq for RangeEditorMessage<T>where T: NumericType,
Auto Trait Implementations§
impl<T> RefUnwindSafe for RangeEditorMessage<T>where T: RefUnwindSafe,
impl<T> Send for RangeEditorMessage<T>
impl<T> Sync for RangeEditorMessage<T>
impl<T> Unpin for RangeEditorMessage<T>where T: Unpin,
impl<T> UnwindSafe for RangeEditorMessage<T>where T: UnwindSafe,
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
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.