pub enum VarScope {
Workspace(WorkspaceId),
Environment(EnvironmentId),
Draft(EnvironmentId),
}Expand description
Which mutable VarSet a change applies to.
Variants§
Workspace(WorkspaceId)
The vars every environment of the workspace sees.
Environment(EnvironmentId)
The vars every revision of the environment sees.
Draft(EnvironmentId)
The vars the environment’s next revision carries.
Trait Implementations§
impl Eq for VarScope
impl StructuralPartialEq for VarScope
Auto Trait Implementations§
impl Forget for VarScope
impl Freeze for VarScope
impl RefUnwindSafe for VarScope
impl Send for VarScope
impl Sync for VarScope
impl Unpin for VarScope
impl UnsafeUnpin for VarScope
impl UnwindSafe for VarScope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.