[−][src]Struct wayland_server::protocol::wl_shell_surface::WlShellSurface
Implementations
impl WlShellSurface
[src]
pub fn ping(&self, serial: u32)
[src]
ping client
Ping a client to check if it is receiving events and sending requests. A client is expected to reply with a pong request.
pub fn configure(&self, edges: Resize, width: i32, height: i32)
[src]
suggest resize
The configure event asks the client to resize its surface.
The size is a hint, in the sense that the client is free to ignore it if it doesn't resize, pick a smaller size (to satisfy aspect ratio or resize in steps of NxM pixels).
The edges parameter provides a hint about how the surface was resized. The client may use this information to decide how to adjust its content to the new size (e.g. a scrolling area might adjust its content position to leave the viewable content unmoved).
The client is free to dismiss all but the last configure event it received.
The width and height arguments specify the size of the window in surface-local coordinates.
pub fn popup_done(&self)
[src]
popup interaction is done
The popup_done event is sent out when a popup grab is broken, that is, when the user clicks a surface that doesn't belong to the client owning the popup surface.
Trait Implementations
impl AsRef<Resource<WlShellSurface>> for WlShellSurface
[src]
impl Clone for WlShellSurface
[src]
fn clone(&self) -> WlShellSurface
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for WlShellSurface
[src]
impl Eq for WlShellSurface
[src]
impl From<Resource<WlShellSurface>> for WlShellSurface
[src]
impl From<WlShellSurface> for Resource<WlShellSurface>
[src]
fn from(value: WlShellSurface) -> Self
[src]
impl Interface for WlShellSurface
[src]
type Request = Request
Set of requests associated to this interface Read more
type Event = Event
Set of events associated to this interface Read more
const NAME: &'static str
[src]
const VERSION: u32
[src]
fn c_interface() -> *const wl_interface
[src]
impl PartialEq<WlShellSurface> for WlShellSurface
[src]
fn eq(&self, other: &WlShellSurface) -> bool
[src]
fn ne(&self, other: &WlShellSurface) -> bool
[src]
impl StructuralEq for WlShellSurface
[src]
impl StructuralPartialEq for WlShellSurface
[src]
Auto Trait Implementations
impl !RefUnwindSafe for WlShellSurface
impl Send for WlShellSurface
impl Sync for WlShellSurface
impl Unpin for WlShellSurface
impl !UnwindSafe for WlShellSurface
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Downcast for T where
T: Any,
[src]
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
[src]
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
[src]
fn as_any(&self) -> &(dyn Any + 'static)
[src]
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
impl<T> DowncastSync for T where
T: Send + Sync + Any,
[src]
T: Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,