pub enum NumericGuiType {
Slider {
range: RangeInclusive<f64>,
step: Option<f64>,
logarithmic: bool,
},
TextBox,
}
Expand description
GUI type associated to a numeric node.
Variants§
Trait Implementations§
Source§impl Clone for NumericGuiType
impl Clone for NumericGuiType
Source§fn clone(&self) -> NumericGuiType
fn clone(&self) -> NumericGuiType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NumericGuiType
impl Debug for NumericGuiType
Source§impl<'de> Deserialize<'de> for NumericGuiType
impl<'de> Deserialize<'de> for NumericGuiType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NumericGuiType
impl RefUnwindSafe for NumericGuiType
impl Send for NumericGuiType
impl Sync for NumericGuiType
impl Unpin for NumericGuiType
impl UnwindSafe for NumericGuiType
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