[][src]Struct libusb_wishbone_tool::LibraryVersion

pub struct LibraryVersion { /* fields omitted */ }

A structure that describes the version of the underlying libusb library.

Implementations

impl LibraryVersion[src]

pub fn major(&self) -> u16[src]

Library major version.

pub fn minor(&self) -> u16[src]

Library minor version.

pub fn micro(&self) -> u16[src]

Library micro version.

pub fn nano(&self) -> u16[src]

Library nano version.

pub fn rc(&self) -> Option<&'static str>[src]

Library release candidate suffix string, e.g., "-rc4".

Trait Implementations

impl Debug for LibraryVersion[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.