Trait guion::id::WidgetID [−][src]
Unique ID for Widgets
WidgetID shall be easily clonable
Provided methods
fn id_eq<I: WidgetID + 'static>(&self, o: &I) -> bool where
Self: 'static,
[src]
Self: 'static,
fn is_hovered<E: Env<WidgetID = Self>>(&self, c: &E::Context) -> bool where
E::Context: CtxStdState<E>,
EPressedKey<E>: PressedKey<E>,
[src]
E::Context: CtxStdState<E>,
EPressedKey<E>: PressedKey<E>,
fn is_focused<E: Env<WidgetID = Self>>(&self, c: &E::Context) -> bool where
E::Context: CtxStdState<E>,
EPressedKey<E>: PressedKey<E>,
[src]
E::Context: CtxStdState<E>,
EPressedKey<E>: PressedKey<E>,