pub struct Builder<E> { /* private fields */ }
Implementations§
Source§impl<E: Send + 'static> Builder<E>
impl<E: Send + 'static> Builder<E>
pub fn use_state<T: Default + Send + 'static>(&mut self) -> StateHandle<T>
pub fn use_parameters<T: Parameters>(&mut self) -> ParameterHandle<T>where
T::Runtime<E>: ParameterRuntime<E> + 'static,
pub fn use_modulator<T: Modulator<E> + Default>(&mut self) -> ModulatorHandle<T>
pub fn build<F>(self, f: F) -> Runtime<E>
Auto Trait Implementations§
impl<E> Freeze for Builder<E>
impl<E> !RefUnwindSafe for Builder<E>
impl<E> !Send for Builder<E>
impl<E> !Sync for Builder<E>
impl<E> Unpin for Builder<E>where
E: Unpin,
impl<E> !UnwindSafe for Builder<E>
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