Struct evdi::LibVersion[][src]

pub struct LibVersion {
    pub major: i32,
    pub minor: i32,
    pub patch: i32,
    // some fields omitted
}

Version of the userspace EVDI library

Fields

major: i32minor: i32patch: i32

Implementations

impl LibVersion[src]

pub fn get() -> Self[src]

Get the version of the EVDI library linked against (not the kernel module).

Uses semver. See https://displaylink.github.io/evdi/details/#versioning

pub fn is_compatible_with(&self, other: KernelModVersion) -> bool[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.