pub fn surface<'s, 'p>(&'s mut self, surface: &'p SurfaceKhr)
            -> &'s mut SwapchainKhrBuilder<'b>
            where 'p: 'b {
        self.create_info.set_surface(surface.handle());
        self.surface = Some(surface);
        self
    }
/// Specifies the surface that the swapchain will present images to.
Specifies the surface that the swapchain will present images to.
Specifies the surface that the swapchain will present images to .
pub fn surface<'s, 'p>(&'s mut self, surface: &'p SurfaceKhr)
            -> &'s mut SwapchainKhrBuilder<'b>
            where 'p: 'b {
        self.create_info.set_surface(surface.handle());
        self.surface = Some(surface);
        self
    }
pub fn surface < ' s , ' p > ( & ' s mut self , surface : & ' p SurfaceKhr ) -> & ' s mut SwapchainKhrBuilder < ' b > where ' p : ' b { self . create_info . set_surface ( surface . handle ( ) ) ; self . surface = Some ( surface ) ; self }
Specifies the surface that the swapchain will present images to.
Specifies the surface that the swapchain will present images to .
&'s mut self
surface
&'p SurfaceKhr
&'s mut self
surface
&'p SurfaceKhr