[][src]Struct egui::InteractInfo

pub struct InteractInfo {
    pub hovered: bool,
    pub clicked: bool,
    pub double_clicked: bool,
    pub active: bool,
    pub rect: Rect,
}

Fields

hovered: bool

The mouse is hovering above this thing

clicked: bool

The mouse pressed this thing ealier, and now released on this thing too.

double_clicked: boolactive: bool

The mouse is interacting with this thing (e.g. dragging it or holding it)

rect: Rect

The region of the screen we are talking about

Implementations

impl InteractInfo[src]

pub fn nothing() -> Self[src]

pub fn union(self, other: Self) -> Self[src]

Trait Implementations

impl Clone for InteractInfo[src]

impl Copy for InteractInfo[src]

impl Debug for InteractInfo[src]

impl Into<InteractInfo> for GuiResponse[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.