pub struct ZcrSecurityV1;
Expand description
security interface to a wl_surface
An additional interface to a wl_surface object, which allows the client to specify that a surface should not appear in screenshots or be visible on non-secure outputs.
If the wl_surface associated with the security object is destroyed, the security object becomes inert.
If the security object is destroyed, the security state is removed from the wl_surface. The change will be applied on the next wl_surface.commit.
Trait Implementations§
source§impl Debug for ZcrSecurityV1
impl Debug for ZcrSecurityV1
source§impl Interface for ZcrSecurityV1
impl Interface for ZcrSecurityV1
source§const NAME: &'static str = "zcr_security_v1"
const NAME: &'static str = "zcr_security_v1"
The name of this interface. This will correspond to the ‘name’ attribute
on the ‘interface’ element in the wayland protocol XML.
Auto Trait Implementations§
impl Freeze for ZcrSecurityV1
impl RefUnwindSafe for ZcrSecurityV1
impl Send for ZcrSecurityV1
impl Sync for ZcrSecurityV1
impl Unpin for ZcrSecurityV1
impl UnwindSafe for ZcrSecurityV1
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