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§
Source§impl Ord for Accel
impl Ord for Accel
Source§impl PartialOrd for Accel
impl PartialOrd for Accel
Source§impl ToCommand for Accel
impl ToCommand for Accel
fn to_command(&self) -> Vec<String>
fn to_single_command(&self) -> String
impl Eq for Accel
impl StructuralPartialEq for Accel
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