Struct x11rb_protocol::protocol::dri2::DriverType
source · pub struct DriverType(/* private fields */);
Implementations§
Trait Implementations§
source§impl Clone for DriverType
impl Clone for DriverType
source§fn clone(&self) -> DriverType
fn clone(&self) -> DriverType
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 DriverType
impl Debug for DriverType
source§impl Default for DriverType
impl Default for DriverType
source§fn default() -> DriverType
fn default() -> DriverType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DriverType
impl<'de> Deserialize<'de> for DriverType
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<DriverType> for Option<u32>
impl From<DriverType> for Option<u32>
source§fn from(input: DriverType) -> Self
fn from(input: DriverType) -> Self
Converts to this type from the input type.
source§impl From<DriverType> for u32
impl From<DriverType> for u32
source§fn from(input: DriverType) -> Self
fn from(input: DriverType) -> Self
Converts to this type from the input type.
source§impl From<u16> for DriverType
impl From<u16> for DriverType
source§impl From<u32> for DriverType
impl From<u32> for DriverType
source§impl From<u8> for DriverType
impl From<u8> for DriverType
source§impl Hash for DriverType
impl Hash for DriverType
source§impl Ord for DriverType
impl Ord for DriverType
source§fn cmp(&self, other: &DriverType) -> Ordering
fn cmp(&self, other: &DriverType) -> 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 DriverType
impl PartialEq for DriverType
source§fn eq(&self, other: &DriverType) -> bool
fn eq(&self, other: &DriverType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DriverType
impl PartialOrd for DriverType
source§fn partial_cmp(&self, other: &DriverType) -> Option<Ordering>
fn partial_cmp(&self, other: &DriverType) -> 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 DriverType
impl Serialize for DriverType
impl Copy for DriverType
impl Eq for DriverType
impl StructuralPartialEq for DriverType
Auto Trait Implementations§
impl Freeze for DriverType
impl RefUnwindSafe for DriverType
impl Send for DriverType
impl Sync for DriverType
impl Unpin for DriverType
impl UnwindSafe for DriverType
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