[][src]Trait guion::id::WidgetID

pub trait WidgetID: Clone + PartialEq + Sized + 'static {
    fn id_eq<I: WidgetID + 'static>(&self, o: &I) -> bool
    where
        Self: 'static
, { ... }
fn is_hovered<E: Env<WidgetID = Self>>(&self, c: &E::Context) -> bool
    where
        E::Context: AsHandlerStateful<E>,
        EPressedKey<E>: PressedKey<E>
, { ... }
fn is_focused<E: Env<WidgetID = Self>>(&self, c: &E::Context) -> bool
    where
        E::Context: AsHandlerStateful<E>,
        EPressedKey<E>: PressedKey<E>
, { ... } }

Provided methods

fn id_eq<I: WidgetID + 'static>(&self, o: &I) -> bool where
    Self: 'static, 

fn is_hovered<E: Env<WidgetID = Self>>(&self, c: &E::Context) -> bool where
    E::Context: AsHandlerStateful<E>,
    EPressedKey<E>: PressedKey<E>, 

fn is_focused<E: Env<WidgetID = Self>>(&self, c: &E::Context) -> bool where
    E::Context: AsHandlerStateful<E>,
    EPressedKey<E>: PressedKey<E>, 

Loading content...

Implementors

impl WidgetID for StdID[src]

Loading content...