pub trait ProgressBarExt: 'static {
Show 19 methods
// Required methods
fn get_ellipsize(&self) -> EllipsizeMode;
fn get_fraction(&self) -> f64;
fn get_inverted(&self) -> bool;
fn get_pulse_step(&self) -> f64;
fn get_show_text(&self) -> bool;
fn get_text(&self) -> Option<GString>;
fn pulse(&self);
fn set_ellipsize(&self, mode: EllipsizeMode);
fn set_fraction(&self, fraction: f64);
fn set_inverted(&self, inverted: bool);
fn set_pulse_step(&self, fraction: f64);
fn set_show_text(&self, show_text: bool);
fn set_text(&self, text: Option<&str>);
fn connect_property_ellipsize_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_fraction_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_inverted_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_pulse_step_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_show_text_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_text_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methods§
fn get_ellipsize(&self) -> EllipsizeMode
fn get_fraction(&self) -> f64
fn get_inverted(&self) -> bool
fn get_pulse_step(&self) -> f64
fn get_show_text(&self) -> bool
fn get_text(&self) -> Option<GString>
fn pulse(&self)
fn set_ellipsize(&self, mode: EllipsizeMode)
fn set_fraction(&self, fraction: f64)
fn set_inverted(&self, inverted: bool)
fn set_pulse_step(&self, fraction: f64)
fn set_show_text(&self, show_text: bool)
fn set_text(&self, text: Option<&str>)
fn connect_property_ellipsize_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_fraction_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_inverted_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_pulse_step_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_show_text_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_text_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.