/// Get the value of the progress bar
Get the value of the progress bar
Get the value of the progress bar
pub fn value(&self) -> ProgressBarValue {
        let sys_value = unsafe { ui_sys::uiProgressBarValue(self.uiProgressBar) };
        if sys_value.is_negative() {
            assert!(
                sys_value == -1,
                "if ProgressBar value is negative it can only be -1"
            );
            ProgressBarValue::Indeterminate
        } else {
            ProgressBarValue::Determinate(sys_value as u32)
        }
    }
pub fn value ( & self ) -> ProgressBarValue { let sys_value = unsafe { ui_sys :: uiProgressBarValue ( self . uiProgressBar ) } ; if sys_value . is_negative ( ) { assert ! ( sys_value 1 " " ) ; ProgressBarValue :: Indeterminate } else { ProgressBarValue :: Determinate ( sys_value as u32 ) } }
Get the value of the progress bar
Get the value of the progress bar
&self