pub struct Signal<T> { /* private fields */ }Expand description
A reactive value, shared by reference.
Cloning is cheap (shared Rc): a copy points to the same value, so a signal
passed to the timeline and a signal inside a shape are one object.
Implementations§
Source§impl<T: Tweenable> Signal<T>
impl<T: Tweenable> Signal<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Signal<T>
impl<T> !Send for Signal<T>
impl<T> !Sync for Signal<T>
impl<T> !UnwindSafe for Signal<T>
impl<T> Freeze for Signal<T>
impl<T> Unpin for Signal<T>
impl<T> UnsafeUnpin for Signal<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