Struct fui_controls::DropDownToggleButtonStyle
source · pub struct DropDownToggleButtonStyle { /* private fields */ }
Implementations§
source§impl DropDownToggleButtonStyle
impl DropDownToggleButtonStyle
pub fn new(params: DropDownToggleButtonStyleParams) -> Self
Trait Implementations§
source§impl Style<ToggleButton> for DropDownToggleButtonStyle
impl Style<ToggleButton> for DropDownToggleButtonStyle
fn setup( &mut self, data: &mut ToggleButton, control_context: &mut ControlContext )
fn handle_event( &mut self, data: &mut ToggleButton, control_context: &mut ControlContext, _drawing_context: &mut dyn DrawingContext, _event_context: &mut dyn EventContext, event: ControlEvent )
fn measure( &mut self, _data: &mut ToggleButton, control_context: &mut ControlContext, drawing_context: &mut dyn DrawingContext, size: Size ) -> Size
fn set_rect( &mut self, _data: &mut ToggleButton, control_context: &mut ControlContext, drawing_context: &mut dyn DrawingContext, rect: Rect )
fn hit_test( &self, _data: &ToggleButton, control_context: &ControlContext, point: Point ) -> Option<Rc<RefCell<dyn ControlObject>>>
fn to_primitives( &self, data: &ToggleButton, control_context: &ControlContext, drawing_context: &mut dyn DrawingContext ) -> (Vec<Primitive>, Vec<Primitive>)
Auto Trait Implementations§
impl Freeze for DropDownToggleButtonStyle
impl !RefUnwindSafe for DropDownToggleButtonStyle
impl !Send for DropDownToggleButtonStyle
impl !Sync for DropDownToggleButtonStyle
impl Unpin for DropDownToggleButtonStyle
impl !UnwindSafe for DropDownToggleButtonStyle
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