[][src]Struct retro_rs::Buttons

pub struct Buttons(_);

Methods

impl Buttons[src]

pub fn new() -> Self[src]

pub fn get(self, id: usize) -> bool[src]

pub fn up(self, b: bool) -> Self[src]

pub fn down(self, b: bool) -> Self[src]

pub fn left(self, b: bool) -> Self[src]

pub fn right(self, b: bool) -> Self[src]

pub fn select(self, b: bool) -> Self[src]

pub fn start(self, b: bool) -> Self[src]

pub fn a(self, b: bool) -> Self[src]

pub fn b(self, b: bool) -> Self[src]

pub fn y(self, b: bool) -> Self[src]

pub fn x(self, b: bool) -> Self[src]

pub fn l1(self, b: bool) -> Self[src]

pub fn r1(self, b: bool) -> Self[src]

pub fn l2(self, b: bool) -> Self[src]

pub fn r2(self, b: bool) -> Self[src]

pub fn l3(self, b: bool) -> Self[src]

pub fn r3(self, b: bool) -> Self[src]

Trait Implementations

impl Clone for Buttons[src]

impl Copy for Buttons[src]

impl Default for Buttons[src]

impl Eq for Buttons[src]

impl Ord for Buttons[src]

impl PartialEq<Buttons> for Buttons[src]

impl PartialOrd<Buttons> for Buttons[src]

impl Hash for Buttons[src]

impl StructuralPartialEq for Buttons[src]

impl StructuralEq for Buttons[src]

Auto Trait Implementations

impl Send for Buttons

impl Sync for Buttons

impl Unpin for Buttons

impl UnwindSafe for Buttons

impl RefUnwindSafe for Buttons

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> SetParameter for T