pub struct SurfaceRef {
pub fb_id: u32,
pub width: u32,
pub height: u32,
pub x: i32,
pub y: i32,
pub generation: u64,
}Expand description
A decoration surface and where it goes.
Fields§
§fb_id: u32The framebuffer to scan out, or zero for nothing.
width: u32Width in pixels.
height: u32Height in pixels.
x: i32Destination x.
y: i32Destination y.
generation: u64The surface’s content generation, for damage tracking.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SurfaceRef
impl RefUnwindSafe for SurfaceRef
impl Send for SurfaceRef
impl Sync for SurfaceRef
impl Unpin for SurfaceRef
impl UnsafeUnpin for SurfaceRef
impl UnwindSafe for SurfaceRef
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