Struct smithay::wayland::shell::xdg::PopupState [−][src]
Expand description
Represents the state of the popup
Fields
geometry: Rectangle<i32, Logical>
Holds the geometry of the popup as defined by the positioner.
Rectangle::width
and Rectangle::height
holds the size of the
of the popup in surface-local coordinates and corresponds to the
window geometry
Rectangle::x
and Rectangle::y
holds the position of the popup
The position is relative to the window geometry as defined by
xdg_surface.set_window_geometry of the parent surface.
Trait Implementations
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 PopupState
impl Send for PopupState
impl Sync for PopupState
impl Unpin for PopupState
impl UnwindSafe for PopupState
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