pub enum PropHint {
Vec2 {
speed: f64,
},
AngleDeg,
Num {
speed: f64,
min: f64,
max: f64,
},
Int {
speed: f64,
min: i64,
max: i64,
},
Bool,
Text,
Enum(&'static [&'static str]),
Color,
Asset {
filter: &'static [&'static str],
},
}Expand description
UI presentation and editing hint for inspector property widgets.
Variants§
Trait Implementations§
impl Copy for PropHint
impl StructuralPartialEq for PropHint
Auto Trait Implementations§
impl Forget for PropHint
impl Freeze for PropHint
impl Move for PropHint
impl RefUnwindSafe for PropHint
impl Send for PropHint
impl Sync for PropHint
impl Unpin for PropHint
impl UnsafeUnpin for PropHint
impl UnwindSafe for PropHint
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