Enum sdl2_sys::SDL_JoystickPowerLevel
source · [−]#[repr(i32)]
pub enum SDL_JoystickPowerLevel {
SDL_JOYSTICK_POWER_UNKNOWN,
SDL_JOYSTICK_POWER_EMPTY,
SDL_JOYSTICK_POWER_LOW,
SDL_JOYSTICK_POWER_MEDIUM,
SDL_JOYSTICK_POWER_FULL,
SDL_JOYSTICK_POWER_WIRED,
SDL_JOYSTICK_POWER_MAX,
}
Variants
SDL_JOYSTICK_POWER_UNKNOWN
SDL_JOYSTICK_POWER_EMPTY
SDL_JOYSTICK_POWER_LOW
SDL_JOYSTICK_POWER_MEDIUM
SDL_JOYSTICK_POWER_FULL
SDL_JOYSTICK_POWER_WIRED
SDL_JOYSTICK_POWER_MAX
Trait Implementations
sourceimpl Clone for SDL_JoystickPowerLevel
impl Clone for SDL_JoystickPowerLevel
sourcefn clone(&self) -> SDL_JoystickPowerLevel
fn clone(&self) -> SDL_JoystickPowerLevel
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SDL_JoystickPowerLevel
impl Debug for SDL_JoystickPowerLevel
sourceimpl Hash for SDL_JoystickPowerLevel
impl Hash for SDL_JoystickPowerLevel
impl Copy for SDL_JoystickPowerLevel
impl Eq for SDL_JoystickPowerLevel
impl StructuralEq for SDL_JoystickPowerLevel
impl StructuralPartialEq for SDL_JoystickPowerLevel
Auto Trait Implementations
impl RefUnwindSafe for SDL_JoystickPowerLevel
impl Send for SDL_JoystickPowerLevel
impl Sync for SDL_JoystickPowerLevel
impl Unpin for SDL_JoystickPowerLevel
impl UnwindSafe for SDL_JoystickPowerLevel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more