pub struct DefaultStackPanelStyle;
Implementations§
Source§impl DefaultStackPanelStyle
impl DefaultStackPanelStyle
pub fn new(_params: DefaultStackPanelStyleParams) -> Self
Trait Implementations§
Source§impl Style<StackPanel> for DefaultStackPanelStyle
impl Style<StackPanel> for DefaultStackPanelStyle
fn setup( &mut self, _data: &mut StackPanel, _control_context: &mut ControlContext, )
fn handle_event( &mut self, _data: &mut StackPanel, _control_context: &mut ControlContext, _drawing_context: &mut dyn DrawingContext, _event_context: &mut dyn EventContext, _event: ControlEvent, )
fn measure( &mut self, data: &mut StackPanel, control_context: &mut ControlContext, drawing_context: &mut dyn DrawingContext, size: Size, ) -> Size
fn set_rect( &mut self, data: &mut StackPanel, control_context: &mut ControlContext, drawing_context: &mut dyn DrawingContext, rect: Rect, )
fn hit_test( &self, _data: &StackPanel, control_context: &ControlContext, point: Point, ) -> Option<Rc<RefCell<dyn ControlObject>>>
fn to_primitives( &self, _data: &StackPanel, control_context: &ControlContext, drawing_context: &mut dyn DrawingContext, ) -> (Vec<Primitive>, Vec<Primitive>)
Auto Trait Implementations§
impl Freeze for DefaultStackPanelStyle
impl RefUnwindSafe for DefaultStackPanelStyle
impl Send for DefaultStackPanelStyle
impl Sync for DefaultStackPanelStyle
impl Unpin for DefaultStackPanelStyle
impl UnwindSafe for DefaultStackPanelStyle
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