pub struct Sum<S: Scalar, A: Signal<S>, B: Signal<S>> {
pub a: A,
pub b: B,
/* private fields */
}Expand description
Sum of two signals: f(t) = a(t) + b(t)
Fields§
§a: A§b: BImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<S, A, B> Freeze for Sum<S, A, B>
impl<S, A, B> RefUnwindSafe for Sum<S, A, B>
impl<S, A, B> Send for Sum<S, A, B>
impl<S, A, B> Sync for Sum<S, A, B>
impl<S, A, B> Unpin for Sum<S, A, B>
impl<S, A, B> UnsafeUnpin for Sum<S, A, B>where
A: UnsafeUnpin,
B: UnsafeUnpin,
impl<S, A, B> UnwindSafe for Sum<S, A, B>
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