pub struct ReactiveContext {
pub key: StorageKey,
pub reactive_state_accessors: Vec<StorageKey>,
pub always_run: bool,
}
Fields§
§key: StorageKey
§reactive_state_accessors: Vec<StorageKey>
§always_run: bool
Implementations§
Source§impl ReactiveContext
impl ReactiveContext
pub fn new(key: StorageKey) -> ReactiveContext
Trait Implementations§
Source§impl Clone for ReactiveContext
impl Clone for ReactiveContext
Source§fn clone(&self) -> ReactiveContext
fn clone(&self) -> ReactiveContext
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ReactiveContext
impl RefUnwindSafe for ReactiveContext
impl Send for ReactiveContext
impl Sync for ReactiveContext
impl Unpin for ReactiveContext
impl UnwindSafe for ReactiveContext
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