pub enum ObjHashable {
None,
StopIteration,
Ellipsis,
Bool(bool),
Long(Arc<BigInt>),
Float(HashF64),
Complex(Complex<HashF64>),
String(Arc<BString>),
Tuple(Arc<Vec<ObjHashable>>),
FrozenSet(Arc<HashableHashSet<ObjHashable>>),
}
Variants§
None
StopIteration
Ellipsis
Bool(bool)
Long(Arc<BigInt>)
Float(HashF64)
Complex(Complex<HashF64>)
String(Arc<BString>)
Tuple(Arc<Vec<ObjHashable>>)
FrozenSet(Arc<HashableHashSet<ObjHashable>>)
Trait Implementations§
Source§impl Clone for ObjHashable
impl Clone for ObjHashable
Source§fn clone(&self) -> ObjHashable
fn clone(&self) -> ObjHashable
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 ObjHashable
impl Debug for ObjHashable
Source§impl Hash for ObjHashable
impl Hash for ObjHashable
Source§impl PartialEq for ObjHashable
impl PartialEq for ObjHashable
Source§impl TryFrom<&Obj> for ObjHashable
impl TryFrom<&Obj> for ObjHashable
Source§impl TryFrom<&ObjHashable> for Obj
impl TryFrom<&ObjHashable> for Obj
Source§type Error = ObjHashable
type Error = ObjHashable
The type returned in the event of a conversion error.
Source§fn try_from(orig: &ObjHashable) -> Result<Self, ObjHashable>
fn try_from(orig: &ObjHashable) -> Result<Self, ObjHashable>
Performs the conversion.
impl Eq for ObjHashable
impl StructuralPartialEq for ObjHashable
Auto Trait Implementations§
impl Freeze for ObjHashable
impl RefUnwindSafe for ObjHashable
impl Send for ObjHashable
impl Sync for ObjHashable
impl Unpin for ObjHashable
impl UnwindSafe for ObjHashable
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