pub struct EmptyEnvironment;Expand description
An explicit environment that never contains a variable.
Trait Implementations§
Source§impl Clone for EmptyEnvironment
impl Clone for EmptyEnvironment
Source§fn clone(&self) -> EmptyEnvironment
fn clone(&self) -> EmptyEnvironment
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 moreimpl Copy for EmptyEnvironment
Source§impl Debug for EmptyEnvironment
impl Debug for EmptyEnvironment
Source§impl Default for EmptyEnvironment
impl Default for EmptyEnvironment
Source§fn default() -> EmptyEnvironment
fn default() -> EmptyEnvironment
Returns the “default value” for a type. Read more
impl Eq for EmptyEnvironment
Source§impl PartialEq for EmptyEnvironment
impl PartialEq for EmptyEnvironment
impl StructuralPartialEq for EmptyEnvironment
Auto Trait Implementations§
impl Freeze for EmptyEnvironment
impl RefUnwindSafe for EmptyEnvironment
impl Send for EmptyEnvironment
impl Sync for EmptyEnvironment
impl Unpin for EmptyEnvironment
impl UnsafeUnpin for EmptyEnvironment
impl UnwindSafe for EmptyEnvironment
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