pub fn with_driver<R, F: FnOnce(&mut VirtioGpuDriver) -> R>(f: F) -> Option<R>Expand description
Execute a closure with the VirtIO GPU driver (mutable access).
pub fn with_driver<R, F: FnOnce(&mut VirtioGpuDriver) -> R>(f: F) -> Option<R>Execute a closure with the VirtIO GPU driver (mutable access).