pub struct XdgPopup { /* private fields */ }
Implementations§
Source§impl XdgPopup
impl XdgPopup
Sourcepub fn configure(
this: ObjectRef<Self>,
client: &mut Client,
) -> Result<(), Error>
pub fn configure( this: ObjectRef<Self>, client: &mut Client, ) -> Result<(), Error>
Performs a configure sequence for the XdgPopup object referenced by
this
.
Sourcepub fn new(
xdg_surface_ref: ObjectRef<XdgSurface>,
client: &mut Client,
flatland: FlatlandPtr,
positioner_ref: ObjectRef<XdgPositioner>,
) -> Result<Self, Error>
pub fn new( xdg_surface_ref: ObjectRef<XdgSurface>, client: &mut Client, flatland: FlatlandPtr, positioner_ref: ObjectRef<XdgPositioner>, ) -> Result<Self, Error>
Creates a new XdgPopup
surface.
pub fn shutdown(&self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for XdgPopup
impl !RefUnwindSafe for XdgPopup
impl !Send for XdgPopup
impl !Sync for XdgPopup
impl Unpin for XdgPopup
impl !UnwindSafe for XdgPopup
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