pub struct DynamicEnv { /* private fields */ }Expand description
A stack of dynamic-extent binding frames shared across clones.
Holds the fluid (dynamically scoped) bindings of the binding organ. Frames are pushed for the duration of a body and popped when it returns or unwinds, giving dynamic rather than lexical extent.
Implementations§
Trait Implementations§
Source§impl Clone for DynamicEnv
impl Clone for DynamicEnv
Source§fn clone(&self) -> DynamicEnv
fn clone(&self) -> DynamicEnv
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 moreSource§impl Debug for DynamicEnv
impl Debug for DynamicEnv
Source§impl Default for DynamicEnv
impl Default for DynamicEnv
Source§fn default() -> DynamicEnv
fn default() -> DynamicEnv
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DynamicEnv
impl RefUnwindSafe for DynamicEnv
impl Send for DynamicEnv
impl Sync for DynamicEnv
impl Unpin for DynamicEnv
impl UnsafeUnpin for DynamicEnv
impl UnwindSafe for DynamicEnv
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