MCPcopy Index your code
hub / github.com/RustPython/RustPython / get_id

Method get_id

crates/vm/src/object/ext.rs:557–559  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

555
556 #[inline(always)]
557 fn get_id(&self) -> usize {
558 self.as_object().unique_id()
559 }
560
561 #[inline(always)]
562 fn is<T>(&self, other: &T) -> bool

Callers 15

exitMethod · 0.45
set_innerMethod · 0.45
generate_hashMethod · 0.45
getMethod · 0.45
repr_wtf8Method · 0.45
enterMethod · 0.45
hashMethod · 0.45
split_by_leaf_idsFunction · 0.45
unregisterMethod · 0.45
execute_instructionMethod · 0.45

Implementers 1

ext.rscrates/vm/src/object/ext.rs

Calls 2

unique_idMethod · 0.80
as_objectMethod · 0.45

Tested by

no test coverage detected