pub struct Constant<S: Scalar> {
pub value: S,
}Expand description
Constant signal: f(t) = value
Fields§
§value: SImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Constant<S>where
S: Freeze,
impl<S> RefUnwindSafe for Constant<S>where
S: RefUnwindSafe,
impl<S> Send for Constant<S>
impl<S> Sync for Constant<S>
impl<S> Unpin for Constant<S>where
S: Unpin,
impl<S> UnsafeUnpin for Constant<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Constant<S>where
S: UnwindSafe,
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