Struct runa_wayland_protocols::wayland::wl_subsurface::v1::requests::PlaceAbove
source · pub struct PlaceAbove {
pub sibling: Object,
}
Expand description
restack the sub-surface
This sub-surface is taken from the stack, and put back just above the reference surface, changing the z-order of the sub-surfaces. The reference surface must be one of the sibling surfaces, or the parent surface. Using any other surface, including this sub-surface, will cause a protocol error.
The z-order is double-buffered. Requests are handled in order and applied immediately to a pending state. The final pending state is copied to the active state the next time the state of the parent surface is applied. When this happens depends on whether the parent surface is in synchronized mode or not. See wl_subsurface.set_sync and wl_subsurface.set_desync for details.
A new sub-surface is initially added as the top-most in the stack of its siblings and parent.
Fields§
§sibling: Object
Implementations§
Trait Implementations§
source§impl Clone for PlaceAbove
impl Clone for PlaceAbove
source§fn clone(&self) -> PlaceAbove
fn clone(&self) -> PlaceAbove
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PlaceAbove
impl Debug for PlaceAbove
source§impl<'a> Deserialize<'a> for PlaceAbove
impl<'a> Deserialize<'a> for PlaceAbove
source§impl PartialEq<PlaceAbove> for PlaceAbove
impl PartialEq<PlaceAbove> for PlaceAbove
source§fn eq(&self, other: &PlaceAbove) -> bool
fn eq(&self, other: &PlaceAbove) -> bool
self
and other
values to be equal, and is used
by ==
.