[−][src]Struct imgui::AngleSlider
Builder for an angle slider widget.
Implementations
impl<'a> AngleSlider<'a>
[src][−]
pub fn new(label: &ImStr) -> AngleSlider<'_>
[src][−]
Constructs a new angle slider builder.
pub fn min_degrees(self, min_degrees: f32) -> Self
[src][−]
Sets the minimum value (in degrees)
pub fn max_degrees(self, max_degrees: f32) -> Self
[src][−]
Sets the maximum value (in degrees)
pub fn display_format(self, display_format: &'a ImStr) -> Self
[src][−]
Sets the display format using a C-style printf string
pub fn build(self, _: &Ui<'_>, value_rad: &mut f32) -> bool
[src][−]
Builds an angle slider that is bound to the given value (in radians).
Returns true if the slider value was changed.
Trait Implementations
impl<'a> Clone for AngleSlider<'a>
[src][+]
impl<'a> Copy for AngleSlider<'a>
[src]
impl<'a> Debug for AngleSlider<'a>
[src][+]
Auto Trait Implementations
impl<'a> RefUnwindSafe for AngleSlider<'a>
impl<'a> Send for AngleSlider<'a>
impl<'a> Sync for AngleSlider<'a>
impl<'a> Unpin for AngleSlider<'a>
impl<'a> UnwindSafe for AngleSlider<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,