pub struct UpdateSignalResult<T, R> {
pub new_value: T,
pub result: R,
}Expand description
A struct that represents the result of updating a signal.
By default, updating a signal means assigning some new value and returning ().
Fields§
§new_value: T§result: RTrait Implementations§
Auto Trait Implementations§
impl<T, R> Freeze for UpdateSignalResult<T, R>
impl<T, R> RefUnwindSafe for UpdateSignalResult<T, R>where
T: RefUnwindSafe,
R: RefUnwindSafe,
impl<T, R> Send for UpdateSignalResult<T, R>
impl<T, R> Sync for UpdateSignalResult<T, R>
impl<T, R> Unpin for UpdateSignalResult<T, R>
impl<T, R> UnwindSafe for UpdateSignalResult<T, R>where
T: UnwindSafe,
R: 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