[][src]Struct awoo::Cut

pub struct Cut<'a, C, T> {
    pub clip: &'a C,
    pub start_in: T,
    pub stop_in: T,
}

A cut in a clip (C) at given time (T).

Cuts represent slice to clips, identified by the C type variable, with a given start and stop times, identified by the the T type variable. The difference between the times gives the duration of the cut.

A cut also embed transactions. Basically, it’s possible that several cuts are triggered at the same time. In that case, each cut contains some additional information about how to deal with such overlapping.

Fields

clip: &'a C

The clip the cut refers to.

start_in: T

Time (including) at which the cut starts in the clip.

stop_in: T

Time (including) at which the cut stops in the clip.

Auto Trait Implementations

impl<'a, C, T> Send for Cut<'a, C, T> where
    C: Sync,
    T: Send

impl<'a, C, T> Sync for Cut<'a, C, T> where
    C: Sync,
    T: Sync

Blanket Implementations

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.

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

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

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