Struct winit::platform_impl::platform::wayland::env::WindowingFeatures
source · pub struct WindowingFeatures {
pointer_constraints: bool,
xdg_activation: bool,
}
Expand description
Set of extra features that are supported by the compositor.
Fields§
§pointer_constraints: bool
§xdg_activation: bool
Implementations§
source§impl WindowingFeatures
impl WindowingFeatures
sourcepub fn new(env: &Environment<WinitEnv>) -> Self
pub fn new(env: &Environment<WinitEnv>) -> Self
Create WindowingFeatures
based on the presented interfaces.
pub fn pointer_constraints(&self) -> bool
pub fn xdg_activation(&self) -> bool
Trait Implementations§
source§impl Clone for WindowingFeatures
impl Clone for WindowingFeatures
source§fn clone(&self) -> WindowingFeatures
fn clone(&self) -> WindowingFeatures
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WindowingFeatures
impl Debug for WindowingFeatures
impl Copy for WindowingFeatures
Auto Trait Implementations§
impl RefUnwindSafe for WindowingFeatures
impl Send for WindowingFeatures
impl Sync for WindowingFeatures
impl Unpin for WindowingFeatures
impl UnwindSafe for WindowingFeatures
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