fn schedule_exact_<W>(&mut self, start: T, duration: W, data: Rc<D>) -> Option<T>
    where
        T: Add<W, Output = T>,
    {
        let end = start + duration;
        return_on_some!(self.try_schedule_trivial_cases(start, end, Rc::clone(&data)));

        self.root
            .as_mut()
            .expect("Internal error: root could not be taken as mut ref")
            .insert(start, end, data)
    }
/// See `schedule_exact` for details.
///
/// Returns the start of the scheduling if it succeeded, otherwise None
See `schedule_exact` for details.
Returns the start of the scheduling if it succeeded, otherwise None
See ` schedule_exact ` for details . Returns the start of the scheduling if it succeeded otherwise None
fn schedule_exact_<W>(&mut self, start: T, duration: W, data: Rc<D>) -> Option<T>
    where
        T: Add<W, Output = T>,
    {
        let end = start + duration;
        return_on_some!(self.try_schedule_trivial_cases(start, end, Rc::clone(&data)));
        self.root
            .as_mut()
            .expect("Internal error: root could not be taken as mut ref")
            .insert(start, end, data)
    }
fn schedule_exact_ < W > ( & mut self , start : T , duration : W , data : Rc < D > ) -> Option < T > where T : Add < W , Output = T > , { let end = start + duration ; return_on_some ! ( self try_schedule_trivial_cases ( start end Rc clone ( data ) ) ) ; self . root . as_mut ( ) . expect ( " " ) . insert ( start , end , data ) }
See `schedule_exact` for details.
See ` schedule_exact ` for details .
&mut self
start
T
duration
W
data
Rc<D>
&mut self
start
T
duration
W
data
Rc<D>