pub struct SurfaceConfig {
pub anchors: Anchors,
pub width: u32,
pub height: u32,
pub exclusive_zone: i32,
pub layer: Layer,
}Expand description
What the platform needs to set up the window’s layer surface.
Fields§
§anchors: AnchorsThe anchored edges.
width: u32The requested width; 0 lets the compositor choose.
height: u32The requested height; 0 lets the compositor choose.
exclusive_zone: i32The exclusive zone, with the default worked out.
layer: LayerThe layer.
Trait Implementations§
Source§impl Clone for SurfaceConfig
impl Clone for SurfaceConfig
impl Copy for SurfaceConfig
Source§impl Debug for SurfaceConfig
impl Debug for SurfaceConfig
impl Eq for SurfaceConfig
Source§impl PartialEq for SurfaceConfig
impl PartialEq for SurfaceConfig
impl StructuralPartialEq for SurfaceConfig
Auto Trait Implementations§
impl Forget for SurfaceConfig
impl Freeze for SurfaceConfig
impl Move for SurfaceConfig
impl RefUnwindSafe for SurfaceConfig
impl Send for SurfaceConfig
impl Sync for SurfaceConfig
impl Unpin for SurfaceConfig
impl UnsafeUnpin for SurfaceConfig
impl UnwindSafe for SurfaceConfig
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