Struct libusb::LibraryVersion [] [src]

pub struct LibraryVersion {
    // some fields omitted
}

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

Methods

impl LibraryVersion
[src]

fn major(&self) -> u16

Library major version.

fn minor(&self) -> u16

Library minor version.

fn micro(&self) -> u16

Library micro version.

fn nano(&self) -> u16

Library nano version.

fn rc(&self) -> Option<&'static str>

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

Trait Implementations

impl Debug for LibraryVersion
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.