pub enum ObjHashable {
None,
StopIteration,
Ellipsis,
Bool(bool),
Long(Arc<BigInt>),
Float(OrderedFloat<f64>),
Complex(Complex<OrderedFloat<f64>>),
Bytes(Arc<Vec<u8>>),
String(Arc<String>),
Tuple(Arc<Vec<ObjHashable>>),
FrozenSet(Arc<HashableHashSet<ObjHashable>>),
}
Variants§
None
StopIteration
Ellipsis
Bool(bool)
Long(Arc<BigInt>)
Float(OrderedFloat<f64>)
Complex(Complex<OrderedFloat<f64>>)
Bytes(Arc<Vec<u8>>)
String(Arc<String>)
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 copy 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 From<&ObjHashable> for Obj
impl From<&ObjHashable> for Obj
Source§fn from(orig: &ObjHashable) -> Self
fn from(orig: &ObjHashable) -> Self
Converts to this type from the input type.
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
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