pub struct Effect { /* private fields */ }Expand description
自动追踪副作用:创建时立即运行一次,依赖的 signal 变化时重跑。
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Effect
impl !Send for Effect
impl !Sync for Effect
impl !UnwindSafe for Effect
impl Freeze for Effect
impl Unpin for Effect
impl UnsafeUnpin for Effect
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