Enum qapi_qmp::FloppyDriveType
source · pub enum FloppyDriveType {
_144,
_288,
_120,
none,
auto,
}
Variants§
Trait Implementations§
source§impl Clone for FloppyDriveType
impl Clone for FloppyDriveType
source§fn clone(&self) -> FloppyDriveType
fn clone(&self) -> FloppyDriveType
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 FloppyDriveType
impl Debug for FloppyDriveType
source§impl<'de> Deserialize<'de> for FloppyDriveType
impl<'de> Deserialize<'de> for FloppyDriveType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Enum for FloppyDriveType
impl Enum for FloppyDriveType
source§impl FromStr for FloppyDriveType
impl FromStr for FloppyDriveType
source§impl Hash for FloppyDriveType
impl Hash for FloppyDriveType
source§impl Ord for FloppyDriveType
impl Ord for FloppyDriveType
source§fn cmp(&self, other: &FloppyDriveType) -> Ordering
fn cmp(&self, other: &FloppyDriveType) -> 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<FloppyDriveType> for FloppyDriveType
impl PartialEq<FloppyDriveType> for FloppyDriveType
source§fn eq(&self, other: &FloppyDriveType) -> bool
fn eq(&self, other: &FloppyDriveType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<FloppyDriveType> for FloppyDriveType
impl PartialOrd<FloppyDriveType> for FloppyDriveType
source§fn partial_cmp(&self, other: &FloppyDriveType) -> Option<Ordering>
fn partial_cmp(&self, other: &FloppyDriveType) -> 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 Serialize for FloppyDriveType
impl Serialize for FloppyDriveType
impl Copy for FloppyDriveType
impl Eq for FloppyDriveType
impl StructuralEq for FloppyDriveType
impl StructuralPartialEq for FloppyDriveType
Auto Trait Implementations§
impl RefUnwindSafe for FloppyDriveType
impl Send for FloppyDriveType
impl Sync for FloppyDriveType
impl Unpin for FloppyDriveType
impl UnwindSafe for FloppyDriveType
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