Enum gdnative_core::export::hint::FloatHint
source · pub enum FloatHint<T> {
Range(RangeHint<T>),
ExpRange(RangeHint<T>),
ExpEasing(ExpEasingHint),
}
Expand description
Possible hints for floats.
Variants§
Range(RangeHint<T>)
Hints that an integer or float property should be within a range.
ExpRange(RangeHint<T>)
Hints that an integer or float property should be within an exponential range.
ExpEasing(ExpEasingHint)
Hints that a float property should be edited via an exponential easing function.
Implementations§
source§impl<T> FloatHint<T>where
T: Display,
impl<T> FloatHint<T>where
T: Display,
pub fn export_info(self) -> ExportInfo
Trait Implementations§
source§impl<T> From<ExpEasingHint> for FloatHint<T>
impl<T> From<ExpEasingHint> for FloatHint<T>
source§fn from(hint: ExpEasingHint) -> Self
fn from(hint: ExpEasingHint) -> Self
Converts to this type from the input type.
source§impl<T> From<RangeInclusive<T>> for FloatHint<T>where
T: Display,
impl<T> From<RangeInclusive<T>> for FloatHint<T>where
T: Display,
source§fn from(range: RangeInclusive<T>) -> Self
fn from(range: RangeInclusive<T>) -> Self
Converts to this type from the input type.