Struct sdl2::joystick::Guid
[−]
[src]
pub struct Guid { /* fields omitted */ }Wrapper around a SDL_JoystickGUID, a globally unique identifier
for a joystick.
Methods
impl Guid[src]
fn from_string(guid: &str) -> Result<Guid, NulError>[src]
Create a GUID from a string representation.
fn is_zero(&self) -> bool[src]
Return true if GUID is full 0s
fn string(&self) -> String[src]
Return a String representation of GUID
fn raw(self) -> SDL_JoystickGUID[src]
Return a copy of the internal SDL_JoystickGUID
Trait Implementations
impl Copy for Guid[src]
impl Clone for Guid[src]
fn clone(&self) -> Guid[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for Guid[src]
fn eq(&self, other: &Guid) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.