pub struct EnvironmentNameKey(/* private fields */);Expand description
A case-insensitive identity key for an operating-system environment name.
Valid Unicode names use the portable case-insensitive Cageforge policy.
Malformed native strings retain their exact code units or bytes so distinct
names can never collide through lossy conversion. Backends and composition
layers can use this key to deduplicate names consistently with
EnvironmentSpec.
Implementations§
Trait Implementations§
Source§impl Clone for EnvironmentNameKey
impl Clone for EnvironmentNameKey
Source§impl Debug for EnvironmentNameKey
impl Debug for EnvironmentNameKey
impl Eq for EnvironmentNameKey
Source§impl Hash for EnvironmentNameKey
impl Hash for EnvironmentNameKey
Source§impl Ord for EnvironmentNameKey
impl Ord for EnvironmentNameKey
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for EnvironmentNameKey
impl PartialEq for EnvironmentNameKey
Source§impl PartialOrd for EnvironmentNameKey
impl PartialOrd for EnvironmentNameKey
impl StructuralPartialEq for EnvironmentNameKey
Auto Trait Implementations§
impl Freeze for EnvironmentNameKey
impl RefUnwindSafe for EnvironmentNameKey
impl Send for EnvironmentNameKey
impl Sync for EnvironmentNameKey
impl Unpin for EnvironmentNameKey
impl UnsafeUnpin for EnvironmentNameKey
impl UnwindSafe for EnvironmentNameKey
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