MCPcopy Create free account
hub / github.com/hashintel/hash / Struct

Class Struct

libs/@local/hashql/core/src/value/struct.rs:77–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75/// ```
76#[derive(Debug, Clone, PartialOrd, Ord, PartialEq, Eq, Hash)]
77pub struct Struct<'heap> {
78 /// Field names associated with the underlying tuple of values.
79 fields: &'heap [Symbol<'heap>],
80 values: Tuple<'heap>,
81}
82
83impl<'heap> Struct<'heap> {
84 /// Creates a new [`Struct`] from field-value pairs.

Callers 15

r#structMethod · 0.50
postprocess_latticeMethod · 0.50
simplifyMethod · 0.50
instantiateMethod · 0.50
contractFunction · 0.50
runMethod · 0.50
finish_inMethod · 0.50
serialize_struct_as_mapFunction · 0.50
interval_valueFunction · 0.50

Calls

no outgoing calls

Tested by 7

contractFunction · 0.40
serialize_struct_as_mapFunction · 0.40
interval_valueFunction · 0.40
build_inputsFunction · 0.40
into_contentMethod · 0.40