Enum qapi_qmp::DisplayOptions
source · [−]pub enum DisplayOptions {
dbus {
base: DisplayOptionsBase,
dbus: DisplayDBus,
},
egl_headless {
base: DisplayOptionsBase,
egl_headless: DisplayEGLHeadless,
},
gtk {
base: DisplayOptionsBase,
gtk: DisplayGTK,
},
cocoa {
base: DisplayOptionsBase,
cocoa: DisplayCocoa,
},
curses {
base: DisplayOptionsBase,
curses: DisplayCurses,
},
}Variants
dbus
egl_headless
gtk
cocoa
curses
Implementations
sourceimpl DisplayOptions
impl DisplayOptions
pub fn type_(&self) -> DisplayType
Trait Implementations
sourceimpl Clone for DisplayOptions
impl Clone for DisplayOptions
sourcefn clone(&self) -> DisplayOptions
fn clone(&self) -> DisplayOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DisplayOptions
impl Debug for DisplayOptions
sourceimpl<'de> Deserialize<'de> for DisplayOptions
impl<'de> Deserialize<'de> for DisplayOptions
sourcefn 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
sourceimpl From<(DisplayCocoa, DisplayOptionsBase)> for DisplayOptions
impl From<(DisplayCocoa, DisplayOptionsBase)> for DisplayOptions
sourcefn from(val: (DisplayCocoa, DisplayOptionsBase)) -> Self
fn from(val: (DisplayCocoa, DisplayOptionsBase)) -> Self
Converts to this type from the input type.
sourceimpl From<(DisplayCurses, DisplayOptionsBase)> for DisplayOptions
impl From<(DisplayCurses, DisplayOptionsBase)> for DisplayOptions
sourcefn from(val: (DisplayCurses, DisplayOptionsBase)) -> Self
fn from(val: (DisplayCurses, DisplayOptionsBase)) -> Self
Converts to this type from the input type.
sourceimpl From<(DisplayDBus, DisplayOptionsBase)> for DisplayOptions
impl From<(DisplayDBus, DisplayOptionsBase)> for DisplayOptions
sourcefn from(val: (DisplayDBus, DisplayOptionsBase)) -> Self
fn from(val: (DisplayDBus, DisplayOptionsBase)) -> Self
Converts to this type from the input type.
sourceimpl From<(DisplayEGLHeadless, DisplayOptionsBase)> for DisplayOptions
impl From<(DisplayEGLHeadless, DisplayOptionsBase)> for DisplayOptions
sourcefn from(val: (DisplayEGLHeadless, DisplayOptionsBase)) -> Self
fn from(val: (DisplayEGLHeadless, DisplayOptionsBase)) -> Self
Converts to this type from the input type.
sourceimpl From<(DisplayGTK, DisplayOptionsBase)> for DisplayOptions
impl From<(DisplayGTK, DisplayOptionsBase)> for DisplayOptions
sourcefn from(val: (DisplayGTK, DisplayOptionsBase)) -> Self
fn from(val: (DisplayGTK, DisplayOptionsBase)) -> Self
Converts to this type from the input type.
sourceimpl Serialize for DisplayOptions
impl Serialize for DisplayOptions
Auto Trait Implementations
impl RefUnwindSafe for DisplayOptions
impl Send for DisplayOptions
impl Sync for DisplayOptions
impl Unpin for DisplayOptions
impl UnwindSafe for DisplayOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more