pub struct DriverType(/* private fields */);
Implementations§
Source§impl DriverType
impl DriverType
pub const DRI: DriverType
pub const VDPAU: DriverType
Trait Implementations§
Source§impl Clone for DriverType
impl Clone for DriverType
Source§fn clone(&self) -> DriverType
fn clone(&self) -> DriverType
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 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 From<u16> for DriverType
impl From<u16> for DriverType
Source§fn from(value: u16) -> DriverType
fn from(value: u16) -> DriverType
Converts to this type from the input type.
Source§impl From<u32> for DriverType
impl From<u32> for DriverType
Source§fn from(value: u32) -> DriverType
fn from(value: u32) -> DriverType
Converts to this type from the input type.
Source§impl From<u8> for DriverType
impl From<u8> for DriverType
Source§fn from(value: u8) -> DriverType
fn from(value: u8) -> DriverType
Converts to this type from the input type.
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§impl PartialOrd for DriverType
impl PartialOrd 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