pub struct Unhashable {
pub type_name: &'static str,
}Expand description
A value that cannot be a dict key or a set member.
Fields§
§type_name: &'static strThe type that was asked, which for a tuple is the type inside it that refused rather than the tuple, because that is the one to go and fix.
Implementations§
Trait Implementations§
Source§impl Clone for Unhashable
impl Clone for Unhashable
Source§fn clone(&self) -> Unhashable
fn clone(&self) -> Unhashable
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 Unhashable
Source§impl Debug for Unhashable
impl Debug for Unhashable
impl Eq for Unhashable
Source§impl PartialEq for Unhashable
impl PartialEq for Unhashable
impl StructuralPartialEq for Unhashable
Auto Trait Implementations§
impl Freeze for Unhashable
impl RefUnwindSafe for Unhashable
impl Send for Unhashable
impl Sync for Unhashable
impl Unpin for Unhashable
impl UnsafeUnpin for Unhashable
impl UnwindSafe for Unhashable
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