Enum nannou::ui::widget::IsOver[][src]

pub enum IsOver {
    Bool(bool),
    Widget(NodeIndex<u32>),
}

Returned by the Widget::is_over method.

Variants

Whether or not the point was over the widget.

Check whether or not the point is over the widget at the given Id and if so, assume it is over this widget.

Trait Implementations

impl Clone for IsOver
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<bool> for IsOver
[src]

Performs the conversion.

impl From<NodeIndex<u32>> for IsOver
[src]

Performs the conversion.

impl Copy for IsOver
[src]

Auto Trait Implementations

impl Send for IsOver

impl Sync for IsOver