pub struct ReactiveScope {
pub id: ScopeId,
pub range: MutableRange,
pub dependencies: Vec<ReactiveScopeDependency>,
pub declarations: Vec<(IdentifierId, ReactiveScopeDeclaration)>,
pub reassignments: Vec<IdentifierId>,
pub early_return_value: Option<ReactiveScopeEarlyReturn>,
pub merged: Vec<ScopeId>,
pub loc: Option<SourceLocation>,
}Fields§
§id: ScopeId§range: MutableRange§dependencies: Vec<ReactiveScopeDependency>The inputs to this reactive scope (populated by later passes)
declarations: Vec<(IdentifierId, ReactiveScopeDeclaration)>The set of values produced by this scope (populated by later passes)
reassignments: Vec<IdentifierId>Identifiers which are reassigned by this scope (populated by later passes)
early_return_value: Option<ReactiveScopeEarlyReturn>If the scope contains an early return, this stores info about it (populated by later passes)
merged: Vec<ScopeId>Scopes that were merged into this one (populated by later passes)
loc: Option<SourceLocation>Source location spanning the scope
Trait Implementations§
Source§impl Clone for ReactiveScope
impl Clone for ReactiveScope
Source§fn clone(&self) -> ReactiveScope
fn clone(&self) -> ReactiveScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReactiveScope
impl RefUnwindSafe for ReactiveScope
impl Send for ReactiveScope
impl Sync for ReactiveScope
impl Unpin for ReactiveScope
impl UnsafeUnpin for ReactiveScope
impl UnwindSafe for ReactiveScope
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