Struct niri_ipc::LayerSurface
source · pub struct LayerSurface {
pub namespace: String,
pub output: String,
pub layer: Layer,
pub keyboard_interactivity: LayerSurfaceKeyboardInteractivity,
}
Expand description
A layer-shell surface.
Fields§
§namespace: String
Namespace provided by the layer-shell client.
output: String
Name of the output the surface is on.
layer: Layer
Layer that the surface is on.
keyboard_interactivity: LayerSurfaceKeyboardInteractivity
The surface’s keyboard interactivity mode.
Trait Implementations§
source§impl Clone for LayerSurface
impl Clone for LayerSurface
source§fn clone(&self) -> LayerSurface
fn clone(&self) -> LayerSurface
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 LayerSurface
impl Debug for LayerSurface
source§impl<'de> Deserialize<'de> for LayerSurface
impl<'de> Deserialize<'de> for LayerSurface
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for LayerSurface
impl PartialEq for LayerSurface
source§impl Serialize for LayerSurface
impl Serialize for LayerSurface
impl Eq for LayerSurface
impl StructuralPartialEq for LayerSurface
Auto Trait Implementations§
impl Freeze for LayerSurface
impl RefUnwindSafe for LayerSurface
impl Send for LayerSurface
impl Sync for LayerSurface
impl Unpin for LayerSurface
impl UnwindSafe for LayerSurface
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)