Struct wayland_protocols::unstable::xdg_shell::v6::server::zxdg_popup_v6::ZxdgPopupV6
source · [−]pub struct ZxdgPopupV6(_);
Implementations
sourceimpl ZxdgPopupV6
impl ZxdgPopupV6
sourcepub fn configure(&self, x: i32, y: i32, width: i32, height: i32)
pub fn configure(&self, x: i32, y: i32, width: i32, height: i32)
configure the popup surface
This event asks the popup surface to configure itself given the configuration. The configured state should not be applied immediately. See xdg_surface.configure for details.
The x and y arguments represent the position the popup was placed at given the xdg_positioner rule, relative to the upper left corner of the window geometry of the parent surface.
sourcepub fn popup_done(&self)
pub fn popup_done(&self)
popup interaction is done
The popup_done event is sent out when a popup is dismissed by the compositor. The client should destroy the xdg_popup object at this point.
Trait Implementations
sourceimpl AsRef<Resource<ZxdgPopupV6>> for ZxdgPopupV6
impl AsRef<Resource<ZxdgPopupV6>> for ZxdgPopupV6
sourceimpl Clone for ZxdgPopupV6
impl Clone for ZxdgPopupV6
sourcefn clone(&self) -> ZxdgPopupV6
fn clone(&self) -> ZxdgPopupV6
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ZxdgPopupV6
impl Debug for ZxdgPopupV6
sourceimpl From<Resource<ZxdgPopupV6>> for ZxdgPopupV6
impl From<Resource<ZxdgPopupV6>> for ZxdgPopupV6
sourceimpl From<ZxdgPopupV6> for Resource<ZxdgPopupV6>
impl From<ZxdgPopupV6> for Resource<ZxdgPopupV6>
sourcefn from(value: ZxdgPopupV6) -> Self
fn from(value: ZxdgPopupV6) -> Self
Converts to this type from the input type.
sourceimpl Interface for ZxdgPopupV6
impl Interface for ZxdgPopupV6
sourcefn c_interface() -> *const wl_interface
fn c_interface() -> *const wl_interface
Pointer to the C representation of this interface
sourceimpl PartialEq<ZxdgPopupV6> for ZxdgPopupV6
impl PartialEq<ZxdgPopupV6> for ZxdgPopupV6
sourcefn eq(&self, other: &ZxdgPopupV6) -> bool
fn eq(&self, other: &ZxdgPopupV6) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Eq for ZxdgPopupV6
impl StructuralEq for ZxdgPopupV6
impl StructuralPartialEq for ZxdgPopupV6
Auto Trait Implementations
impl !RefUnwindSafe for ZxdgPopupV6
impl Send for ZxdgPopupV6
impl Sync for ZxdgPopupV6
impl Unpin for ZxdgPopupV6
impl !UnwindSafe for ZxdgPopupV6
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
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
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
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
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
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