mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-10 21:18:36 +00:00
add doc comments
This commit is contained in:
parent
fe4cc59faf
commit
dccbdc4f01
@ -551,6 +551,8 @@ impl<'ui> Ui {
|
|||||||
{
|
{
|
||||||
InputInt4::new(self, label, value)
|
InputInt4::new(self, label, value)
|
||||||
}
|
}
|
||||||
|
/// Shows an input field for a scalar value. This is not limited to `f32` and `i32` and can be used with
|
||||||
|
/// any primitive scalar type e.g. `u8` and `f64`.
|
||||||
#[doc(alias = "InputScalar")]
|
#[doc(alias = "InputScalar")]
|
||||||
pub fn input_scalar<'p, L, T>(
|
pub fn input_scalar<'p, L, T>(
|
||||||
&'ui self,
|
&'ui self,
|
||||||
@ -563,6 +565,7 @@ impl<'ui> Ui {
|
|||||||
{
|
{
|
||||||
InputScalar::new(self, label, value)
|
InputScalar::new(self, label, value)
|
||||||
}
|
}
|
||||||
|
/// Shows a horizontal array of scalar value input fields. See [`input_scalar`].
|
||||||
#[doc(alias = "InputScalarN")]
|
#[doc(alias = "InputScalarN")]
|
||||||
pub fn input_scalar_n<'p, L, T>(
|
pub fn input_scalar_n<'p, L, T>(
|
||||||
&'ui self,
|
&'ui self,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user