pub enum Request {
Destroy,
SetBlending {
equation: u32,
},
SetAlpha {
value: Fixed,
},
}
Variants§
Destroy
remove blending from the surface
The associated wl_surface’s blending state is removed. The change is applied on the next wl_surface.commit.
SetBlending
set the blending equation
Set the blending equation for compositing the wl_surface. See wp_alpha_compositing for the description.
The blending equation state is double-buffered state, and will be applied on the next wl_surface.commit.
SetAlpha
set the alpha value
Set the alpha value applied to the whole surface for compositing. See wp_alpha_compositing for the description.
The alpha value state is double-buffered state, and will be applied on the next wl_surface.commit.
Fields
§
value: Fixed
the new alpha value
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
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