[][src]Struct scribble_curves::span_cursor::Cursor

pub struct Cursor<T: Ord + Copy, Id: Copy + Eq + Hash> { /* fields omitted */ }

Implementations

impl<T: Ord + Copy, Id: Copy + Eq + Hash> Cursor<T, Id>[src]

pub fn new<I: IntoIterator<Item = Span<T, Id>>>(
    spans: I,
    time: T
) -> Cursor<T, Id>
[src]

pub fn current(&self) -> T[src]

pub fn advance_to(&mut self, time: T) -> ActiveSet<T, Id>[src]

Trait Implementations

impl<T: Debug + Ord + Copy, Id: Debug + Copy + Eq + Hash> Debug for Cursor<T, Id>[src]

Auto Trait Implementations

impl<T, Id> RefUnwindSafe for Cursor<T, Id> where
    Id: RefUnwindSafe,
    T: RefUnwindSafe

impl<T, Id> Send for Cursor<T, Id> where
    Id: Send,
    T: Send

impl<T, Id> Sync for Cursor<T, Id> where
    Id: Sync,
    T: Sync

impl<T, Id> Unpin for Cursor<T, Id> where
    Id: Unpin,
    T: Unpin

impl<T, Id> UnwindSafe for Cursor<T, Id> where
    Id: UnwindSafe,
    T: UnwindSafe

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

impl<T, U> RoundInto<U> for T where
    U: RoundFrom<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

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.