pub enum DisplayType {
default,
none,
gtk,
sdl,
egl_headless,
curses,
cocoa,
spice_app,
dbus,
}
Variants§
Trait Implementations§
Source§impl Clone for DisplayType
impl Clone for DisplayType
Source§fn clone(&self) -> DisplayType
fn clone(&self) -> DisplayType
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 DisplayType
impl Debug for DisplayType
Source§impl<'de> Deserialize<'de> for DisplayType
impl<'de> Deserialize<'de> for DisplayType
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 DisplayType
impl Enum for DisplayType
Source§impl FromStr for DisplayType
impl FromStr for DisplayType
Source§impl Hash for DisplayType
impl Hash for DisplayType
Source§impl Ord for DisplayType
impl Ord for DisplayType
Source§fn cmp(&self, other: &DisplayType) -> Ordering
fn cmp(&self, other: &DisplayType) -> 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 DisplayType
impl PartialEq for DisplayType
Source§impl PartialOrd for DisplayType
impl PartialOrd for DisplayType
Source§impl Serialize for DisplayType
impl Serialize for DisplayType
impl Copy for DisplayType
impl Eq for DisplayType
impl StructuralPartialEq for DisplayType
Auto Trait Implementations§
impl Freeze for DisplayType
impl RefUnwindSafe for DisplayType
impl Send for DisplayType
impl Sync for DisplayType
impl Unpin for DisplayType
impl UnwindSafe for DisplayType
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