#[repr(transparent)]pub struct SDL_GamepadButtonLabel(pub c_int);Expand description
The set of gamepad button labels
This isn’t a complete set, just the face buttons to make it easy to show button prompts.
For a complete set, you should look at the button and gamepad type and have a set of symbols that work well with your art style.
§Availability
This enum is available since SDL 3.2.0.
§Known values (sdl3-sys)
Tuple Fields§
§0: c_intImplementations§
Trait Implementations§
Source§impl Clone for SDL_GamepadButtonLabel
impl Clone for SDL_GamepadButtonLabel
Source§fn clone(&self) -> SDL_GamepadButtonLabel
fn clone(&self) -> SDL_GamepadButtonLabel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SDL_GamepadButtonLabel
Available on crate feature debug-impls only.
impl Debug for SDL_GamepadButtonLabel
Available on crate feature
debug-impls only.Source§impl Default for SDL_GamepadButtonLabel
impl Default for SDL_GamepadButtonLabel
Source§fn default() -> SDL_GamepadButtonLabel
fn default() -> SDL_GamepadButtonLabel
Returns the “default value” for a type. Read more
Source§impl From<SDL_GamepadButtonLabel> for c_int
impl From<SDL_GamepadButtonLabel> for c_int
Source§fn from(value: SDL_GamepadButtonLabel) -> Self
fn from(value: SDL_GamepadButtonLabel) -> Self
Converts to this type from the input type.
Source§impl GroupMetadata for SDL_GamepadButtonLabel
Available on crate feature metadata only.
impl GroupMetadata for SDL_GamepadButtonLabel
Available on crate feature
metadata only.Source§const GROUP_METADATA: &'static Group
const GROUP_METADATA: &'static Group
Metadata for this group
Source§impl Hash for SDL_GamepadButtonLabel
impl Hash for SDL_GamepadButtonLabel
Source§impl Ord for SDL_GamepadButtonLabel
impl Ord for SDL_GamepadButtonLabel
Source§fn cmp(&self, other: &SDL_GamepadButtonLabel) -> Ordering
fn cmp(&self, other: &SDL_GamepadButtonLabel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq<SDL_GamepadButtonLabel> for c_int
impl PartialEq<SDL_GamepadButtonLabel> for c_int
Source§impl PartialEq<i32> for SDL_GamepadButtonLabel
impl PartialEq<i32> for SDL_GamepadButtonLabel
Source§impl PartialEq for SDL_GamepadButtonLabel
impl PartialEq for SDL_GamepadButtonLabel
Source§impl PartialOrd for SDL_GamepadButtonLabel
impl PartialOrd for SDL_GamepadButtonLabel
impl Copy for SDL_GamepadButtonLabel
impl Eq for SDL_GamepadButtonLabel
impl StructuralPartialEq for SDL_GamepadButtonLabel
Auto Trait Implementations§
impl Freeze for SDL_GamepadButtonLabel
impl RefUnwindSafe for SDL_GamepadButtonLabel
impl Send for SDL_GamepadButtonLabel
impl Sync for SDL_GamepadButtonLabel
impl Unpin for SDL_GamepadButtonLabel
impl UnwindSafe for SDL_GamepadButtonLabel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more