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]

Create a GUID from a string representation.

Return true if GUID is full 0s

Return a String representation of GUID

Return a copy of the internal SDL_JoystickGUID

Trait Implementations

impl Copy for Guid
[src]

impl Clone for Guid
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Guid
[src]

impl PartialEq for Guid
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for Guid
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Display for Guid
[src]

Formats the value using the given formatter. Read more