pub struct EnvironmentKey {
pub variable_id: VariableId,
}Fields§
§variable_id: VariableIdImplementations§
Source§impl EnvironmentKey
impl EnvironmentKey
pub fn from(variable_id: VariableId) -> Self
pub fn from_global(key: String) -> Self
Trait Implementations§
Source§impl Clone for EnvironmentKey
impl Clone for EnvironmentKey
Source§fn clone(&self) -> EnvironmentKey
fn clone(&self) -> EnvironmentKey
Returns a duplicate 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 EnvironmentKey
impl Debug for EnvironmentKey
Source§impl Hash for EnvironmentKey
impl Hash for EnvironmentKey
Source§impl PartialEq for EnvironmentKey
impl PartialEq for EnvironmentKey
impl Eq for EnvironmentKey
impl StructuralPartialEq for EnvironmentKey
Auto Trait Implementations§
impl Freeze for EnvironmentKey
impl RefUnwindSafe for EnvironmentKey
impl Send for EnvironmentKey
impl Sync for EnvironmentKey
impl Unpin for EnvironmentKey
impl UnsafeUnpin for EnvironmentKey
impl UnwindSafe for EnvironmentKey
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.