use anyhow::Result; use vulkan_rs::prelude::*; use std::sync::Arc; pub struct Rendering { swapchain: Arc, } impl Rendering { pub fn new(swapchain: Arc) -> Self { Self { swapchain } } pub fn render(&mut self) -> Result { todo!() } }