pub struct Entry<T: Transcendental> {
pub sig: BuiltinSig,
/* private fields */
}Expand description
A registry entry.
Fields§
§sig: BuiltinSigThe signature.
Implementations§
Source§impl<T: Transcendental> Entry<T>
impl<T: Transcendental> Entry<T>
Sourcepub fn build_sample(
&self,
params: &[f64],
sample_rate: f32,
) -> Option<Box<dyn SampleBuiltin<T>>>
pub fn build_sample( &self, params: &[f64], sample_rate: f32, ) -> Option<Box<dyn SampleBuiltin<T>>>
Build a sample instance (panics if this entry is a block built-in — callers
gate on sig.kind).
Sourcepub fn build_block(
&self,
params: &[f64],
sample_rate: f32,
) -> Option<Box<dyn BlockBuiltin<T>>>
pub fn build_block( &self, params: &[f64], sample_rate: f32, ) -> Option<Box<dyn BlockBuiltin<T>>>
Build a block instance.
Sourcepub fn build_multichannel_block(
&self,
params: &[f64],
sample_rate: f32,
) -> Option<Box<dyn MultichannelBlockBuiltin<T>>>
pub fn build_multichannel_block( &self, params: &[f64], sample_rate: f32, ) -> Option<Box<dyn MultichannelBlockBuiltin<T>>>
Build a multichannel block instance.
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Entry<T>
impl<T> !UnwindSafe for Entry<T>
impl<T> Freeze for Entry<T>
impl<T> Send for Entry<T>
impl<T> Sync for Entry<T>
impl<T> Unpin for Entry<T>
impl<T> UnsafeUnpin for Entry<T>
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