#[repr(transparent)]pub struct SDL_GamepadButtonLabel(pub c_uint);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.
Available Since: This enum is available since SDL 3.2.0.
Tuple Fields§
§0: c_uintImplementations§
Source§impl SDL_GamepadButtonLabel
impl SDL_GamepadButtonLabel
pub const SDL_GAMEPAD_BUTTON_LABEL_UNKNOWN: SDL_GamepadButtonLabel
pub const SDL_GAMEPAD_BUTTON_LABEL_A: SDL_GamepadButtonLabel
pub const SDL_GAMEPAD_BUTTON_LABEL_B: SDL_GamepadButtonLabel
pub const SDL_GAMEPAD_BUTTON_LABEL_X: SDL_GamepadButtonLabel
pub const SDL_GAMEPAD_BUTTON_LABEL_Y: SDL_GamepadButtonLabel
pub const SDL_GAMEPAD_BUTTON_LABEL_CROSS: SDL_GamepadButtonLabel
pub const SDL_GAMEPAD_BUTTON_LABEL_CIRCLE: SDL_GamepadButtonLabel
pub const SDL_GAMEPAD_BUTTON_LABEL_SQUARE: SDL_GamepadButtonLabel
pub const SDL_GAMEPAD_BUTTON_LABEL_TRIANGLE: SDL_GamepadButtonLabel
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
impl Debug for SDL_GamepadButtonLabel
Source§impl Hash for SDL_GamepadButtonLabel
impl Hash for SDL_GamepadButtonLabel
Source§impl PartialEq for SDL_GamepadButtonLabel
impl PartialEq 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 UnsafeUnpin 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