pub enum TCGThreadType {
Single,
Multi,
}Expand description
QEMU thread= values for TCG acceleration.
Variants§
Trait Implementations§
Source§impl Arbitrary for TCGThreadType
impl Arbitrary for TCGThreadType
Source§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = TupleUnion<((u32, Arc<fn() -> TCGThreadType>), (u32, Arc<fn() -> TCGThreadType>))>
type Strategy = TupleUnion<((u32, Arc<fn() -> TCGThreadType>), (u32, Arc<fn() -> TCGThreadType>))>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Clone for TCGThreadType
impl Clone for TCGThreadType
Source§fn clone(&self) -> TCGThreadType
fn clone(&self) -> TCGThreadType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TCGThreadType
impl Debug for TCGThreadType
Source§impl Display for TCGThreadType
impl Display for TCGThreadType
Source§impl FromStr for TCGThreadType
impl FromStr for TCGThreadType
Source§impl Hash for TCGThreadType
impl Hash for TCGThreadType
Source§impl Ord for TCGThreadType
impl Ord for TCGThreadType
Source§fn cmp(&self, other: &TCGThreadType) -> Ordering
fn cmp(&self, other: &TCGThreadType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TCGThreadType
impl PartialEq for TCGThreadType
Source§impl PartialOrd for TCGThreadType
impl PartialOrd for TCGThreadType
impl Eq for TCGThreadType
impl StructuralPartialEq for TCGThreadType
Auto Trait Implementations§
impl Freeze for TCGThreadType
impl RefUnwindSafe for TCGThreadType
impl Send for TCGThreadType
impl Sync for TCGThreadType
impl Unpin for TCGThreadType
impl UnsafeUnpin for TCGThreadType
impl UnwindSafe for TCGThreadType
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