Struct tuix_internal::state::mouse::MouseButtonData [−][src]
pub struct MouseButtonData {
pub state: MouseButtonState,
pub pos_down: (f32, f32),
pub pos_up: (f32, f32),
pub pressed: Entity,
pub released: Entity,
}
Fields
state: MouseButtonState
pos_down: (f32, f32)
pos_up: (f32, f32)
pressed: Entity
released: Entity
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MouseButtonData
impl Send for MouseButtonData
impl Sync for MouseButtonData
impl Unpin for MouseButtonData
impl UnwindSafe for MouseButtonData
Blanket Implementations
Mutably borrows from an owned value. Read more