Struct libraw::Version [] [src]

pub struct Version {
    // some fields omitted
}

LibRaw library version.

Methods

impl Version

fn new(major: u8, minor: u8, patch: u8) -> Version

Creates a new version with the given major, minor, and patch numbers.

fn major(&self) -> u8

Returns the major version number.

fn minor(&self) -> u8

Returns the minor version number.

fn patch(&self) -> u8

Returns the patch version number.

Trait Implementations

impl Display for Version

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

Derived Implementations

impl Ord for Version

fn cmp(&self, __arg_0: &Version) -> Ordering

impl PartialOrd for Version

fn partial_cmp(&self, __arg_0: &Version) -> Option<Ordering>

fn lt(&self, __arg_0: &Version) -> bool

fn le(&self, __arg_0: &Version) -> bool

fn gt(&self, __arg_0: &Version) -> bool

fn ge(&self, __arg_0: &Version) -> bool

impl Eq for Version

impl PartialEq for Version

fn eq(&self, __arg_0: &Version) -> bool

fn ne(&self, __arg_0: &Version) -> bool

impl Debug for Version

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