Struct drm::Version
[−]
[src]
pub struct Version { /* fields omitted */ }
Version information.
Methods
impl Version
[src]
fn number(&self) -> (u32, u32, u32)
Major, minor and patch number of the driver software.
fn name(&self) -> Result<&str, &[u8]>
Name of the driver software.
fn date(&self) -> Result<&str, &[u8]>
Date published of the driver software. In format: YYYYMMDD
fn desc(&self) -> Result<&str, &[u8]>
A description of the driver.
Trait Implementations
impl Debug for Version
[src]
impl Clone for Version
[src]
fn clone(&self) -> Version
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Version
[src]
fn eq(&self, __arg_0: &Version) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Version) -> bool
This method tests for !=
.
impl Eq for Version
[src]
impl Hash for Version
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.