pub struct Schedule { /* private fields */ }Implementations§
Source§impl Schedule
impl Schedule
pub fn sequence(durations: impl IntoIterator<Item = Duration>) -> Self
pub fn parallel(durations: impl IntoIterator<Item = Duration>) -> Self
pub fn stagger(count: usize, duration: Duration, interval: Duration) -> Self
pub fn cue(&self, id: CueId) -> Option<Cue>
pub const fn duration(&self) -> Duration
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
Trait Implementations§
impl Eq for Schedule
impl StructuralPartialEq for Schedule
Auto Trait Implementations§
impl Freeze for Schedule
impl RefUnwindSafe for Schedule
impl Send for Schedule
impl Sync for Schedule
impl Unpin for Schedule
impl UnsafeUnpin for Schedule
impl UnwindSafe for Schedule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more