def children(self): (length, data_ptr) = \ rustpp.extract_length_and_ptr_from_std_btreeset(self.__val) val = GdbValue(data_ptr.get_wrapped_value().dereference()).get_child_at_index(3) gdb_ptr = val.get_wrapped_value() for index in xrange(length): yield (str(index), gdb_ptr[index])
def children(self): (length, data_ptr) = \ rustpp.extract_length_and_ptr_from_std_btreeset(self.__val) val = GdbValue( data_ptr.get_wrapped_value().dereference()).get_child_at_index(3) gdb_ptr = val.get_wrapped_value() for index in xrange(length): yield (str(index), gdb_ptr[index])
def children(self): (length, data_ptr) = \ rustpp.extract_length_and_ptr_from_std_btreeset(self.__val) leaf_node = GdbValue(data_ptr.get_wrapped_value().dereference()) maybe_uninit_keys = leaf_node.get_child_at_index(3) manually_drop_keys = maybe_uninit_keys.get_child_at_index(1) keys = manually_drop_keys.get_child_at_index(0) gdb_ptr = keys.get_wrapped_value() for index in xrange(length): yield (str(index), gdb_ptr[index])
def children(self): (length, data_ptr) = \ rustpp.extract_length_and_ptr_from_std_btreeset(self.__val) leaf_node = GdbValue(data_ptr.get_wrapped_value().dereference()) maybe_uninit_keys = leaf_node.get_child_at_index(3) manually_drop_keys = maybe_uninit_keys.get_child_at_index(1) keys = manually_drop_keys.get_child_at_index(0) gdb_ptr = keys.get_wrapped_value() for index in xrange(length): yield (str(index), gdb_ptr[index])
def to_string(self): (length, data_ptr) = \ rustpp.extract_length_and_ptr_from_std_btreeset(self.__val) return (self.__val.type.get_unqualified_type_name() + ("(len: %i)" % length))
def to_string(self): (length, data_ptr) = \ rustpp.extract_length_and_ptr_from_std_btreeset(self.__val) return (self.__val.type.get_unqualified_type_name() + ("(len: %i)" % length))