pub struct Clock { /* private fields */ }Expand description
A SynthModule that emits 1.0 every interval seconds otherwise it emits
0.0.
Implementations§
Trait Implementations§
Source§impl Signal for Clock
impl Signal for Clock
Source§fn as_any_mut(&mut self) -> &mut dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
This method has the same trivial implementation for all implentors of
the trait. We need it to downcast trait objects to their underlying
type.
impl Copy for Clock
Auto Trait Implementations§
impl Freeze for Clock
impl RefUnwindSafe for Clock
impl Send for Clock
impl Sync for Clock
impl Unpin for Clock
impl UnsafeUnpin for Clock
impl UnwindSafe for Clock
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