Struct nannou::ui::input::widget::Presses[][src]

pub struct Presses<'a> { /* fields omitted */ }

An Iterator yielding all button presses occuring within the given sequence of widget::Events.

Implementations

impl<'a> Presses<'a>[src]

pub fn mouse(self) -> MousePresses<'a>

Notable traits for MousePresses<'a>

impl<'a> Iterator for MousePresses<'a> type Item = MousePress;
[src]

Produces an Iterator that yields only the press events that correspond with mouse buttons.

pub fn key(self) -> KeyPresses<'a>

Notable traits for KeyPresses<'a>

impl<'a> Iterator for KeyPresses<'a> type Item = KeyPress;
[src]

Produces an Iterator that yields only the press events that correspond with keyboard buttons.

Trait Implementations

impl<'a> Clone for Presses<'a>[src]

impl<'a> Iterator for Presses<'a>[src]

type Item = Press

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a> RefUnwindSafe for Presses<'a>

impl<'a> Send for Presses<'a>

impl<'a> Sync for Presses<'a>

impl<'a> Unpin for Presses<'a>

impl<'a> UnwindSafe for Presses<'a>

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    T: Component + Float,
    D: AdaptFrom<S, Swp, Dwp, T>,
    Swp: WhitePoint,
    Dwp: WhitePoint
[src]

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

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

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

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

impl<T> Downcast<T> for T

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

impl<T> Instrument for T[src]

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<I> IteratorRandom for I where
    I: Iterator
[src]

impl<I> IteratorRandom for I where
    I: Iterator
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> SetParameter for T

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> Upcast<T> for T

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,