pub struct BubFnsInterpreter {
pub uppercase: BubFnsCoord,
pub lowercase: BubFnsCoord,
pub uppercase_n: f64,
pub lowercase_n: f64,
pub uppercase_f: f64,
pub uppercase_s: f64,
}
Fields
uppercase: BubFnsCoord
lowercase: BubFnsCoord
uppercase_n: f64
Number of frames starting from the file. Absolute Time
lowercase_n: f64
Number of frames starting from the function. Relative Time
uppercase_f: f64
uppercase_s: f64
Implementations
sourceimpl BubFnsInterpreter
impl BubFnsInterpreter
pub fn new(
speaker_absolute_coord: BubFnsCoord,
bub_absolute_coord: BubFnsCoord,
absolute_frame: f64,
relative_frame: f64,
frames: f64,
samples_per_sec: f64
) -> Self
pub fn eval_or_or_expr(&self, ast: &BubFnsAST) -> Result<bool, ()>
pub fn eval_and_and_expr(&self, ast: &BubFnsAST) -> Result<bool, ()>
pub fn eval_comparison_expr(&self, ast: &BubFnsAST) -> Result<bool, ()>
pub fn eval_sum(&self, ast: &BubFnsAST) -> Result<f64, ()>
pub fn eval_term(&self, ast: &BubFnsAST) -> Result<f64, ()>
pub fn eval_factor(&self, ast: &BubFnsAST) -> Result<f64, ()>
pub fn eval_power(&self, ast: &BubFnsAST) -> Result<f64, ()>
pub fn eval_atom(&self, ast: &BubFnsAST) -> Result<f64, ()>
Auto Trait Implementations
impl RefUnwindSafe for BubFnsInterpreter
impl Send for BubFnsInterpreter
impl Sync for BubFnsInterpreter
impl Unpin for BubFnsInterpreter
impl UnwindSafe for BubFnsInterpreter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more