[−][src]Struct guion_sdl2::simple::env::SimpleEnv
Trait Implementations
impl AsHandlerStateful<SimpleEnv> for SimpleCtx
[src]
type T = SimpleHandler
fn stateful_mut(&mut self) -> &mut Self::T
[src]
fn stateful(&self) -> &Self::T
[src]
impl Backend<SimpleEnv> for SimpleBackend
[src]
type Renderer = Render<Window>
type Event = DynEvent<SimpleEnv, Key, StdDest<SimpleDest>>
type Style = Style
type Size = Size
impl Clone for SimpleEnv
[src]
impl Context<SimpleEnv> for SimpleCtx
[src]
type Handler = SimpleHandler
type Queue = Queue<SimpleEnv>
fn queue_mut(&mut self) -> &mut Self::Queue
[src]
fn queue(&self) -> &Self::Queue
[src]
fn _handler_mut(&mut self) -> &mut Self::Handler
[src]
fn _handler(&self) -> &Self::Handler
[src]
fn default_style(&self) -> &Style
[src]
fn default_border(&self) -> &Border
[src]
fn handler_mut<H>(&mut self) -> &mut H where
H: Handler<E>,
Self: AsRefMut<H>,
[src]
H: Handler<E>,
Self: AsRefMut<H>,
fn handler<H>(&self) -> &H where
H: Handler<E>,
Self: AsRefMut<H>,
[src]
H: Handler<E>,
Self: AsRefMut<H>,
fn render(&mut self, w: Resolved<E>, r: &mut RenderLink<E>) -> bool
[src]
fn event(
&mut self,
w: Resolved<E>,
e: (<<E as Env>::Backend as Backend<E>>::Event, &Bounds, u64)
)
[src]
&mut self,
w: Resolved<E>,
e: (<<E as Env>::Backend as Backend<E>>::Event, &Bounds, u64)
)
fn size(&mut self, w: Resolved<E>) -> <<E as Env>::Backend as Backend<E>>::Size
[src]
fn _event_root(
&mut self,
w: Resolved<E>,
e: (<<E as Env>::Backend as Backend<E>>::Event, &Bounds, u64)
)
[src]
&mut self,
w: Resolved<E>,
e: (<<E as Env>::Backend as Backend<E>>::Event, &Bounds, u64)
)
fn link<'l, 's>(&'s mut self, w: Resolved<'l, E>) -> Link<'s, E> where
'l: 's,
[src]
'l: 's,
fn state(&self) -> &<<E as Env>::Context as AsHandlerStateful<E>>::T where
Self: AsHandlerStateful<E>,
[src]
Self: AsHandlerStateful<E>,
impl Env for SimpleEnv
[src]
type Backend = SimpleBackend
type Context = SimpleCtx
type Storage = SimpleStor
type WidgetID = StdID
type WidgetPath = StandardPath
type ValidState = SimpleValidState
impl EnvFlexStyleVariant for SimpleEnv
[src]
type StyleVariant = StdStyleVariant
impl PartialEq<SimpleEnv> for SimpleEnv
[src]
impl StructuralPartialEq for SimpleEnv
[src]
impl Widgets<SimpleEnv> for SimpleStor
[src]
fn widget<'a>(&'a self, i: StandardPath) -> Result<Resolved<'a, SimpleEnv>, ()>
[src]
fn _widget_mut<'a>(
&'a mut self,
i: StandardPath,
invalidate: bool
) -> Result<ResolvedMut<'a, SimpleEnv>, ()>
[src]
&'a mut self,
i: StandardPath,
invalidate: bool
) -> Result<ResolvedMut<'a, SimpleEnv>, ()>
fn trace_bounds(
&self,
ctx: &mut SimpleCtx,
i: StandardPath,
b: &Bounds,
force: bool
) -> Result<Bounds, ()>
[src]
&self,
ctx: &mut SimpleCtx,
i: StandardPath,
b: &Bounds,
force: bool
) -> Result<Bounds, ()>
fn widget_mut(
&'a mut self,
i: <E as Env>::WidgetPath
) -> Result<ResolvedMut<'a, E>, ()>
[src]
&'a mut self,
i: <E as Env>::WidgetPath
) -> Result<ResolvedMut<'a, E>, ()>
fn has_widget(&self, i: <E as Env>::WidgetPath) -> bool
[src]
fn tune_path(&self, _i: &mut <E as Env>::WidgetPath)
[src]
fn tune_path_mut(&mut self, _i: &mut <E as Env>::WidgetPath)
[src]
fn with_env<F>(&self) -> &<F as Env>::Storage where
F: Env<Storage = Self>,
Self: Widgets<F>,
[src]
F: Env<Storage = Self>,
Self: Widgets<F>,
Auto Trait Implementations
impl RefUnwindSafe for SimpleEnv
impl Send for SimpleEnv
impl Sync for SimpleEnv
impl Unpin for SimpleEnv
impl UnwindSafe for SimpleEnv
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,