Struct nannou_timeline::PinnedTracks[][src]

pub struct PinnedTracks { /* fields omitted */ }

The first context stage returned by the Timeline.

Allows for setting pinned tracks which must be complete before setting non-pinned tracks.

Implementations

impl PinnedTracks[src]

pub fn set_next_pinned_track<T>(
    &self,
    widget: T,
    ui: &mut UiCell<'_>
) -> Track<T::Event> where
    T: Widget
[src]

Set the given widget as the next pinned track.

Returns information about the Track as well as the widget’s Event.

pub fn start_tracks(self, ui: &mut UiCell<'_>) -> Tracks[src]

Finalizes the PinnedTracksContext and returns a TracksContext that allows for setting regular, non-pinned tracks.

Trait Implementations

impl Debug for PinnedTracks[src]

impl Deref for PinnedTracks[src]

type Target = Context

The resulting type after dereferencing.

Auto Trait Implementations

Blanket Implementations

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> From<T> for T[src]

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

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.