Struct wayland_client::protocol::wl_shell::WlShell
source · pub struct WlShell(/* private fields */);
Implementations§
source§impl WlShell
impl WlShell
sourcepub fn get_shell_surface(&self, surface: &WlSurface) -> Main<WlShellSurface>
pub fn get_shell_surface(&self, surface: &WlSurface) -> Main<WlShellSurface>
create a shell surface from a surface
Create a shell surface for an existing surface. This gives the wl_surface the role of a shell surface. If the wl_surface already has another role, it raises a protocol error.
Only one shell surface can be associated with a given surface.
Trait Implementations§
source§impl Interface for WlShell
impl Interface for WlShell
source§fn c_interface() -> *const wl_interface
fn c_interface() -> *const wl_interface
Pointer to the C representation of this interface
source§impl PartialEq for WlShell
impl PartialEq for WlShell
impl Eq for WlShell
impl StructuralEq for WlShell
impl StructuralPartialEq for WlShell
Auto Trait Implementations§
impl !RefUnwindSafe for WlShell
impl Send for WlShell
impl Sync for WlShell
impl Unpin for WlShell
impl !UnwindSafe for WlShell
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