[−][src]Enum sdl2::joystick::PowerLevel
pub enum PowerLevel { Unknown, Empty, Low, Medium, Full, Wired, }
Variants
Methods
impl PowerLevel
[src][−]
pub fn from_ll(raw: SDL_JoystickPowerLevel) -> PowerLevel
[src]
pub fn to_ll(self) -> SDL_JoystickPowerLevel
[src]
Trait Implementations
impl Clone for PowerLevel
[src][+]
impl Copy for PowerLevel
[src]
impl Debug for PowerLevel
[src][+]
impl Eq for PowerLevel
[src]
impl Hash for PowerLevel
[src][+]
impl PartialEq<PowerLevel> for PowerLevel
[src][+]
impl StructuralEq for PowerLevel
[src]
impl StructuralPartialEq for PowerLevel
[src]
Auto Trait Implementations
impl RefUnwindSafe for PowerLevel
impl Send for PowerLevel
impl Sync for PowerLevel
impl Unpin for PowerLevel
impl UnwindSafe for PowerLevel
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,