Enum qapi_qmp::DisplayOptions
source · pub enum DisplayOptions {
cocoa {
base: DisplayOptionsBase,
cocoa: DisplayCocoa,
},
curses {
base: DisplayOptionsBase,
curses: DisplayCurses,
},
dbus {
base: DisplayOptionsBase,
dbus: DisplayDBus,
},
egl_headless {
base: DisplayOptionsBase,
egl_headless: DisplayEGLHeadless,
},
gtk {
base: DisplayOptionsBase,
gtk: DisplayGTK,
},
sdl {
base: DisplayOptionsBase,
sdl: DisplaySDL,
},
default(DisplayOptionsBase),
none(DisplayOptionsBase),
spice_app(DisplayOptionsBase),
}
Variants§
cocoa
curses
dbus
egl_headless
gtk
sdl
default(DisplayOptionsBase)
none(DisplayOptionsBase)
spice_app(DisplayOptionsBase)
Implementations§
source§impl DisplayOptions
impl DisplayOptions
pub fn type_(&self) -> DisplayType
Trait Implementations§
source§impl Clone for DisplayOptions
impl Clone for DisplayOptions
source§fn clone(&self) -> DisplayOptions
fn clone(&self) -> DisplayOptions
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 DisplayOptions
impl Debug for DisplayOptions
source§impl<'de> Deserialize<'de> for DisplayOptions
impl<'de> Deserialize<'de> for DisplayOptions
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 From<(DisplayCocoa, DisplayOptionsBase)> for DisplayOptions
impl From<(DisplayCocoa, DisplayOptionsBase)> for DisplayOptions
source§fn from(val: (DisplayCocoa, DisplayOptionsBase)) -> Self
fn from(val: (DisplayCocoa, DisplayOptionsBase)) -> Self
Converts to this type from the input type.
source§impl From<(DisplayCurses, DisplayOptionsBase)> for DisplayOptions
impl From<(DisplayCurses, DisplayOptionsBase)> for DisplayOptions
source§fn from(val: (DisplayCurses, DisplayOptionsBase)) -> Self
fn from(val: (DisplayCurses, DisplayOptionsBase)) -> Self
Converts to this type from the input type.
source§impl From<(DisplayDBus, DisplayOptionsBase)> for DisplayOptions
impl From<(DisplayDBus, DisplayOptionsBase)> for DisplayOptions
source§fn from(val: (DisplayDBus, DisplayOptionsBase)) -> Self
fn from(val: (DisplayDBus, DisplayOptionsBase)) -> Self
Converts to this type from the input type.
source§impl From<(DisplayEGLHeadless, DisplayOptionsBase)> for DisplayOptions
impl From<(DisplayEGLHeadless, DisplayOptionsBase)> for DisplayOptions
source§fn from(val: (DisplayEGLHeadless, DisplayOptionsBase)) -> Self
fn from(val: (DisplayEGLHeadless, DisplayOptionsBase)) -> Self
Converts to this type from the input type.
source§impl From<(DisplayGTK, DisplayOptionsBase)> for DisplayOptions
impl From<(DisplayGTK, DisplayOptionsBase)> for DisplayOptions
source§fn from(val: (DisplayGTK, DisplayOptionsBase)) -> Self
fn from(val: (DisplayGTK, DisplayOptionsBase)) -> Self
Converts to this type from the input type.
source§impl From<(DisplaySDL, DisplayOptionsBase)> for DisplayOptions
impl From<(DisplaySDL, DisplayOptionsBase)> for DisplayOptions
source§fn from(val: (DisplaySDL, DisplayOptionsBase)) -> Self
fn from(val: (DisplaySDL, DisplayOptionsBase)) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DisplayOptions
impl RefUnwindSafe for DisplayOptions
impl Send for DisplayOptions
impl Sync for DisplayOptions
impl Unpin for DisplayOptions
impl UnwindSafe for DisplayOptions
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)