use wgpu;/// A surface for rendering to
pubstructSurface<'a>{surf:&'awgpu::Surface<'a>}impl<'a>Surface<'a>{/// Create a new surface from the raw [wgpu::Surface] object.
////// # Arugments
////// * `surf` - A reference to a [wgpu::Surface], borrowed for the lifetime of the return value.
////// # Returns
////// The [Surface] object
pubfnnew(surf:&'awgpu::Surface<'a>)->Self{Self{ surf }}/// Gets the internal [wgpu::Surface] object.
////// # Returns
////// The internal reference to a [wgpu::Surface]
pubfnwgpu_surface(&self)->&'awgpu::Surface<'a>{self.surf
}}