Struct surfman::surface::SystemSurfaceInfo
source · pub struct SystemSurfaceInfo {
pub size: Size2D<i32>,
pub id: SurfaceID,
}
Expand description
Various data about the surface.
Fields§
§size: Size2D<i32>
The surface’s size, in device pixels.
id: SurfaceID
The ID of the surface. This should be globally unique for each currently-allocated surface.
Auto Trait Implementations§
impl Freeze for SystemSurfaceInfo
impl RefUnwindSafe for SystemSurfaceInfo
impl Send for SystemSurfaceInfo
impl Sync for SystemSurfaceInfo
impl Unpin for SystemSurfaceInfo
impl UnwindSafe for SystemSurfaceInfo
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