pub struct Response {
pub clicked: bool,
pub hovered: bool,
}Expand description
Result of a container mouse interaction.
Returned by Context::col, Context::row, and ContainerBuilder::col /
ContainerBuilder::row so you can react to clicks and hover without a separate
event loop.
Fields§
§clicked: boolWhether the container was clicked this frame.
hovered: boolWhether the mouse is over the container.
Trait Implementations§
impl Copy for Response
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnsafeUnpin for Response
impl UnwindSafe for Response
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more