pub struct AgentPointer {
pub x_px: u32,
pub y_px: u32,
pub press: bool,
}Expand description
What the last commit published (for tests and diagnostics).
An agent’s pointer over a surface (set_agent_pointer): its tip in
device pixels from the surface’s top left, the surface’s own pixels for
a pixels surface and the viewer’s cell pixel size for a cells surface.
Fields§
§x_px: u32§y_px: u32§press: boolA press (a click) plays at the tip as it gets there.
Trait Implementations§
Source§impl Clone for AgentPointer
impl Clone for AgentPointer
impl Copy for AgentPointer
Source§impl Debug for AgentPointer
impl Debug for AgentPointer
impl Eq for AgentPointer
Source§impl PartialEq for AgentPointer
impl PartialEq for AgentPointer
impl StructuralPartialEq for AgentPointer
Auto Trait Implementations§
impl Forget for AgentPointer
impl Freeze for AgentPointer
impl Move for AgentPointer
impl RefUnwindSafe for AgentPointer
impl Send for AgentPointer
impl Sync for AgentPointer
impl Unpin for AgentPointer
impl UnsafeUnpin for AgentPointer
impl UnwindSafe for AgentPointer
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