pub enum EnvironmentExtends {
Realm,
None,
}
Expand description
How this environment extends its parent’s.
Variants§
Realm
This environment extends the environment of its parent’s.
None
This environment was created from scratch.
Trait Implementations§
Source§impl Clone for EnvironmentExtends
impl Clone for EnvironmentExtends
Source§fn clone(&self) -> EnvironmentExtends
fn clone(&self) -> EnvironmentExtends
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 moreSource§impl Debug for EnvironmentExtends
impl Debug for EnvironmentExtends
Source§impl From<EnvironmentExtends> for EnvironmentExtends
impl From<EnvironmentExtends> for EnvironmentExtends
Source§fn from(e: EnvironmentExtends) -> Self
fn from(e: EnvironmentExtends) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EnvironmentExtends
impl PartialEq for EnvironmentExtends
impl StructuralPartialEq for EnvironmentExtends
Auto Trait Implementations§
impl Freeze for EnvironmentExtends
impl RefUnwindSafe for EnvironmentExtends
impl Send for EnvironmentExtends
impl Sync for EnvironmentExtends
impl Unpin for EnvironmentExtends
impl UnwindSafe for EnvironmentExtends
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)