[−][src]Struct scribble_curves::span_cursor::Cursor
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]
spans: I,
time: T
) -> Cursor<T, Id>
pub fn current(&self) -> T
[src]
pub fn advance_to(&mut self, time: T) -> ActiveSet<T, Id>
[src]
Trait Implementations
Auto Trait Implementations
impl<T, Id> RefUnwindSafe for Cursor<T, Id> where
Id: RefUnwindSafe,
T: RefUnwindSafe,
Id: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, Id> Send for Cursor<T, Id> where
Id: Send,
T: Send,
Id: Send,
T: Send,
impl<T, Id> Sync for Cursor<T, Id> where
Id: Sync,
T: Sync,
Id: Sync,
T: Sync,
impl<T, Id> Unpin for Cursor<T, Id> where
Id: Unpin,
T: Unpin,
Id: Unpin,
T: Unpin,
impl<T, Id> UnwindSafe for Cursor<T, Id> where
Id: UnwindSafe,
T: UnwindSafe,
Id: UnwindSafe,
T: UnwindSafe,
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> RoundFrom<T> for T
fn round_from(x: T) -> T
impl<T, U> RoundInto<U> for T where
U: RoundFrom<T>,
U: RoundFrom<T>,
fn round_into(self) -> U
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,