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