Fields
device: Arc<Device>swapchain: SwapchainImplementations
sourceimpl Driver
impl Driver
pub fn new(
window: &impl HasRawWindowHandle,
cfg: DriverConfig,
width: u32,
height: u32
) -> Result<Self, DriverError>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Driver
impl Send for Driver
impl Sync for Driver
impl Unpin for Driver
impl !UnwindSafe for Driver
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more