Struct sdl2::version::Version[src]

pub struct Version {
    pub major: int,
    pub minor: int,
    pub patch: int,
}

Fields

major
minor
patch

Methods

impl Version

fn from_ll(sv: *SDL_version) -> Version

Converts a raw *SDL_version to Version

Trait Implementations

impl Show for Version

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

Derived Implementations

impl Clone for Version

fn clone(&self) -> Version

impl Eq for Version

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

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