pub enum OnOffUnmap {
On,
Off,
Unmap,
}Expand description
A QEMU value encoded as "on", "off", or "unmap".
Variants§
Trait Implementations§
Source§impl Arbitrary for OnOffUnmap
impl Arbitrary for OnOffUnmap
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() -> OnOffUnmap>), (u32, Arc<fn() -> OnOffUnmap>), (u32, Arc<fn() -> OnOffUnmap>))>
type Strategy = TupleUnion<((u32, Arc<fn() -> OnOffUnmap>), (u32, Arc<fn() -> OnOffUnmap>), (u32, Arc<fn() -> OnOffUnmap>))>
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 OnOffUnmap
impl Clone for OnOffUnmap
Source§fn clone(&self) -> OnOffUnmap
fn clone(&self) -> OnOffUnmap
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 OnOffUnmap
impl Debug for OnOffUnmap
Source§impl Display for OnOffUnmap
impl Display for OnOffUnmap
Source§impl FromStr for OnOffUnmap
impl FromStr for OnOffUnmap
Source§impl Hash for OnOffUnmap
impl Hash for OnOffUnmap
Source§impl Ord for OnOffUnmap
impl Ord for OnOffUnmap
Source§fn cmp(&self, other: &OnOffUnmap) -> Ordering
fn cmp(&self, other: &OnOffUnmap) -> 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 OnOffUnmap
impl PartialEq for OnOffUnmap
Source§impl PartialOrd for OnOffUnmap
impl PartialOrd for OnOffUnmap
impl Eq for OnOffUnmap
impl StructuralPartialEq for OnOffUnmap
Auto Trait Implementations§
impl Freeze for OnOffUnmap
impl RefUnwindSafe for OnOffUnmap
impl Send for OnOffUnmap
impl Sync for OnOffUnmap
impl Unpin for OnOffUnmap
impl UnsafeUnpin for OnOffUnmap
impl UnwindSafe for OnOffUnmap
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