pub struct AlgorithmMetadata {
pub name: &'static str,
pub category: AlgorithmCategory,
pub description: &'static str,
pub author: &'static str,
pub version: &'static str,
}Expand description
Descriptive metadata for an Algorithm implementation.
Fields§
§name: &'static strShort name (e.g. “Biquad”, “OnePole”, “ParamSmoother”)
category: AlgorithmCategoryFunctional category
description: &'static strOne-line description
Author name
version: &'static strVersion string
Implementations§
Source§impl AlgorithmMetadata
impl AlgorithmMetadata
Sourcepub const fn empty() -> AlgorithmMetadata
pub const fn empty() -> AlgorithmMetadata
Minimal default metadata (Utility category, no name).
Trait Implementations§
Source§impl Clone for AlgorithmMetadata
impl Clone for AlgorithmMetadata
Source§fn clone(&self) -> AlgorithmMetadata
fn clone(&self) -> AlgorithmMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AlgorithmMetadata
impl RefUnwindSafe for AlgorithmMetadata
impl Send for AlgorithmMetadata
impl Sync for AlgorithmMetadata
impl Unpin for AlgorithmMetadata
impl UnsafeUnpin for AlgorithmMetadata
impl UnwindSafe for AlgorithmMetadata
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