Enum qapi_qmp::DisplayGLMode
source · pub enum DisplayGLMode {
off,
on,
core,
es,
}
Variants§
Trait Implementations§
source§impl Clone for DisplayGLMode
impl Clone for DisplayGLMode
source§fn clone(&self) -> DisplayGLMode
fn clone(&self) -> DisplayGLMode
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 DisplayGLMode
impl Debug for DisplayGLMode
source§impl<'de> Deserialize<'de> for DisplayGLMode
impl<'de> Deserialize<'de> for DisplayGLMode
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 DisplayGLMode
impl Enum for DisplayGLMode
source§impl FromStr for DisplayGLMode
impl FromStr for DisplayGLMode
source§impl Hash for DisplayGLMode
impl Hash for DisplayGLMode
source§impl Ord for DisplayGLMode
impl Ord for DisplayGLMode
source§fn cmp(&self, other: &DisplayGLMode) -> Ordering
fn cmp(&self, other: &DisplayGLMode) -> 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<DisplayGLMode> for DisplayGLMode
impl PartialEq<DisplayGLMode> for DisplayGLMode
source§fn eq(&self, other: &DisplayGLMode) -> bool
fn eq(&self, other: &DisplayGLMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<DisplayGLMode> for DisplayGLMode
impl PartialOrd<DisplayGLMode> for DisplayGLMode
source§fn partial_cmp(&self, other: &DisplayGLMode) -> Option<Ordering>
fn partial_cmp(&self, other: &DisplayGLMode) -> 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 DisplayGLMode
impl Serialize for DisplayGLMode
impl Copy for DisplayGLMode
impl Eq for DisplayGLMode
impl StructuralEq for DisplayGLMode
impl StructuralPartialEq for DisplayGLMode
Auto Trait Implementations§
impl RefUnwindSafe for DisplayGLMode
impl Send for DisplayGLMode
impl Sync for DisplayGLMode
impl Unpin for DisplayGLMode
impl UnwindSafe for DisplayGLMode
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