[−][src]Struct wayland_protocols::xdg_shell::server::xdg_surface::XdgSurface
Methods
impl XdgSurface
[src]
pub fn configure(&self, serial: u32)
[src]
suggest a surface change
The configure event marks the end of a configure sequence. A configure sequence is a set of one or more events configuring the state of the xdg_surface, including the final xdg_surface.configure event.
Where applicable, xdg_surface surface roles will during a configure sequence extend this event as a latched state sent as events before the xdg_surface.configure event. Such events should be considered to make up a set of atomically applied configuration states, where the xdg_surface.configure commits the accumulated state.
Clients should arrange their surface for the new states, and then send an ack_configure request with the serial sent in this configure event at some point before committing the new surface.
If the client receives multiple configure events before it can respond to one, it is free to discard all but the last event it received.
Trait Implementations
impl From<Resource<XdgSurface>> for XdgSurface
[src]
impl From<XdgSurface> for Resource<XdgSurface>
[src]
fn from(value: XdgSurface) -> Self
[src]
impl Clone for XdgSurface
[src]
fn clone(&self) -> XdgSurface
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl AsRef<Resource<XdgSurface>> for XdgSurface
[src]
impl Eq for XdgSurface
[src]
impl PartialEq<XdgSurface> for XdgSurface
[src]
fn eq(&self, other: &XdgSurface) -> bool
[src]
fn ne(&self, other: &XdgSurface) -> bool
[src]
impl Interface for XdgSurface
[src]
Auto Trait Implementations
impl Send for XdgSurface
impl Sync for XdgSurface
impl Unpin for XdgSurface
impl !RefUnwindSafe for XdgSurface
impl !UnwindSafe for XdgSurface
Blanket Implementations
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Downcast for T where
T: Any,
T: Any,