#[repr(transparent)]pub struct VZVirtualMachineState(pub NSInteger);
Available on crate feature
VZVirtualMachine
only.Tuple Fields§
§0: NSInteger
Implementations§
source§impl VZVirtualMachineState
impl VZVirtualMachineState
pub const Stopped: Self = _
pub const Running: Self = _
pub const Paused: Self = _
pub const Error: Self = _
pub const Starting: Self = _
pub const Pausing: Self = _
pub const Resuming: Self = _
pub const Stopping: Self = _
pub const Saving: Self = _
pub const Restoring: Self = _
Trait Implementations§
source§impl Clone for VZVirtualMachineState
impl Clone for VZVirtualMachineState
source§fn clone(&self) -> VZVirtualMachineState
fn clone(&self) -> VZVirtualMachineState
Returns a copy 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 VZVirtualMachineState
impl Debug for VZVirtualMachineState
source§impl Encode for VZVirtualMachineState
impl Encode for VZVirtualMachineState
source§impl Hash for VZVirtualMachineState
impl Hash for VZVirtualMachineState
source§impl Ord for VZVirtualMachineState
impl Ord for VZVirtualMachineState
source§fn cmp(&self, other: &VZVirtualMachineState) -> Ordering
fn cmp(&self, other: &VZVirtualMachineState) -> 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 VZVirtualMachineState
impl PartialEq for VZVirtualMachineState
source§fn eq(&self, other: &VZVirtualMachineState) -> bool
fn eq(&self, other: &VZVirtualMachineState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for VZVirtualMachineState
impl PartialOrd for VZVirtualMachineState
source§fn partial_cmp(&self, other: &VZVirtualMachineState) -> Option<Ordering>
fn partial_cmp(&self, other: &VZVirtualMachineState) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RefEncode for VZVirtualMachineState
impl RefEncode for VZVirtualMachineState
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for VZVirtualMachineState
impl Eq for VZVirtualMachineState
impl StructuralPartialEq for VZVirtualMachineState
Auto Trait Implementations§
impl Freeze for VZVirtualMachineState
impl RefUnwindSafe for VZVirtualMachineState
impl Send for VZVirtualMachineState
impl Sync for VZVirtualMachineState
impl Unpin for VZVirtualMachineState
impl UnwindSafe for VZVirtualMachineState
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
source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.