Struct fui_controls::DefaultProgressBarStyle
source · pub struct DefaultProgressBarStyle;
Implementations§
source§impl DefaultProgressBarStyle
impl DefaultProgressBarStyle
pub fn new(_params: DefaultProgressBarStyleParams) -> Self
Trait Implementations§
source§impl Style<ProgressBar> for DefaultProgressBarStyle
impl Style<ProgressBar> for DefaultProgressBarStyle
fn setup( &mut self, data: &mut ProgressBar, control_context: &mut ControlContext )
fn handle_event( &mut self, _data: &mut ProgressBar, _control_context: &mut ControlContext, _drawing_context: &mut dyn DrawingContext, _event_context: &mut dyn EventContext, _event: ControlEvent )
fn measure( &mut self, data: &mut ProgressBar, _control_context: &mut ControlContext, _drawing_context: &mut dyn DrawingContext, _size: Size ) -> Size
fn set_rect( &mut self, _data: &mut ProgressBar, _control_context: &mut ControlContext, _drawing_context: &mut dyn DrawingContext, _rect: Rect )
fn hit_test( &self, _data: &ProgressBar, control_context: &ControlContext, point: Point ) -> Option<Rc<RefCell<dyn ControlObject>>>
fn to_primitives( &self, data: &ProgressBar, control_context: &ControlContext, _drawing_context: &mut dyn DrawingContext ) -> (Vec<Primitive>, Vec<Primitive>)
Auto Trait Implementations§
impl Freeze for DefaultProgressBarStyle
impl RefUnwindSafe for DefaultProgressBarStyle
impl Send for DefaultProgressBarStyle
impl Sync for DefaultProgressBarStyle
impl Unpin for DefaultProgressBarStyle
impl UnwindSafe for DefaultProgressBarStyle
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