Struct sdl2::joystick::Guid
[−]
[src]
pub struct Guid { // some fields omitted }
Wrapper around a SDL_JoystickGUID, a globally unique identifier for a joystick.
Methods
impl Guid
fn from_string(guid: &str) -> Result<Guid, NulError>
Create a GUID from a string representation.
fn is_zero(&self) -> bool
Return true
if GUID is full 0s
fn get_string(&self) -> String
Return a String representation of GUID
fn raw(self) -> SDL_JoystickGUID
Return a copy of the internal SDL_JoystickGUID