Struct smithay::wayland::seat::GrabStartData [−][src]
pub struct GrabStartData { pub focus: Option<(WlSurface, Point<i32, Logical>)>, pub button: u32, pub location: Point<f64, Logical>, }
Expand description
Data about the event that started the grab.
Fields
focus: Option<(WlSurface, Point<i32, Logical>)>
The focused surface and its location, if any, at the start of the grab.
The location coordinates are in the global compositor space.
The button that initiated the grab.
location: Point<f64, Logical>
The location of the click that initiated the grab, in the global compositor space.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for GrabStartData
impl Send for GrabStartData
impl Sync for GrabStartData
impl Unpin for GrabStartData
impl !UnwindSafe for GrabStartData
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more
pub fn vzip(self) -> V