pub struct Algorithms { /* private fields */ }Expand description
Store information about all FM algorithms, and which functions to call to render them.
Implementations§
Source§impl Algorithms
impl Algorithms
Sourcepub fn render_call(&self, algorithm: usize, op: usize) -> &RenderCall
pub fn render_call(&self, algorithm: usize, op: usize) -> &RenderCall
Returns the render call for a specific algorithm and operator
Sourcepub fn is_modulator(&self, algorithm: usize, op: usize) -> bool
pub fn is_modulator(&self, algorithm: usize, op: usize) -> bool
Checks if an operator is a modulator (not a carrier)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Algorithms
impl RefUnwindSafe for Algorithms
impl Send for Algorithms
impl Sync for Algorithms
impl Unpin for Algorithms
impl UnsafeUnpin for Algorithms
impl UnwindSafe for Algorithms
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