pub struct Accel { /* private fields */ }
Expand description
This is used to enable an accelerator. Depending on the target architecture, kvm, xen, hvf, nvmm, whpx or tcg can be available. By default, tcg is used. If there is more than one accelerator specified, the next one is used if the previous one fails to initialize.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Accel
impl RefUnwindSafe for Accel
impl Send for Accel
impl Sync for Accel
impl Unpin for Accel
impl UnwindSafe for Accel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more