Struct ValueSet
pub struct ValueSet { /* private fields */ }Expand description
A set of Values.
Provides hash-based deduplication with well-defined semantics for every
Value variant, including future floating-point variants (which will use
bitwise comparison so NaN == NaN and +0.0 != -0.0). Value itself does
not implement Hash/Eq because the right float policy is
context-dependent; ValueSet picks the policy suitable for deduplication.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ValueSet
impl RefUnwindSafe for ValueSet
impl Send for ValueSet
impl Sync for ValueSet
impl Unpin for ValueSet
impl UnsafeUnpin for ValueSet
impl UnwindSafe for ValueSet
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