Struct game::sandbox::dashboards::selector::RectangularSelector [−][src]
pub struct RectangularSelector { panel: Panel, region: Rc<RefCell<Option<Polygon>>>, corners: Option<(Pt2D, Pt2D, bool)>, }
Fields
panel: Panel
region: Rc<RefCell<Option<Polygon>>>
corners: Option<(Pt2D, Pt2D, bool)>
Implementations
impl RectangularSelector
[src]
impl RectangularSelector
[src]Trait Implementations
impl State<App> for RectangularSelector
[src]
impl State<App> for RectangularSelector
[src]fn event(&mut self, ctx: &mut EventCtx<'_>, _: &mut App) -> Transition<App>
[src]
fn draw(&self, g: &mut GfxCtx<'_>, _: &App)
[src]
pub fn draw_baselayer(&self) -> DrawBaselayer
pub fn on_destroy(&mut self, &mut EventCtx<'_>, &mut A)
Auto Trait Implementations
impl !RefUnwindSafe for RectangularSelector
impl !Send for RectangularSelector
impl !Sync for RectangularSelector
impl Unpin for RectangularSelector
impl !UnwindSafe for RectangularSelector
Blanket Implementations
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,