MCPcopy Create free account

hub / github.com/facet-rs/facet / functions

Functions19,978 in github.com/facet-rs/facet

↓ 5,322 callersMethodunwrap
Get the parsed value, handling all early-exit cases automatically. This is the primary way to use figue. It does exactly what a well-behaved CLI shou
figue/src/driver.rs:1056
↓ 2,202 callersMethodexpect
(type: TokenType)
implementations/styx-js/src/parser.ts:50
↓ 1,207 callersMethodmap
Map the inner value to a new type.
facet-styx/src/schema_types.rs:443
↓ 1,115 callersMethodcollect
Collect cache statistics from the runtime.
picante/src/debug.rs:230
↓ 1,077 callersMethodclone
()
vox/typescript/packages/vox-core/src/metadata.ts:61
↓ 1,041 callersFunctionfield
(name: string, schema: SchemaRef, required = true)
phon/typescript/packages/phon-engine/src/ecosystem_surface.fixtures.ts:9
↓ 744 callersMethodclone
(&self)
facet-value/src/value.rs:605
↓ 724 callersMethoditer
Iterate over all args with their effective names.
figue/src/schema.rs:34
↓ 652 callersMethodend
Get the end offset (offset + len).
facet-reflect/src/spanned.rs:69
↓ 628 callersFunctionprim
(primitive: Primitive)
phon/typescript/packages/phon-engine/src/ecosystem_surface.fixtures.ts:8
↓ 626 callersMethodpush
Push a step onto the path.
facet-path/src/lib.rs:172
↓ 614 callersMethodpush_str
Push a string directly, returning span and display width.
rediff/src/layout/arena.rs:72
↓ 603 callersFunctionref
(schema: bigint)
phon/typescript/packages/phon-engine/src/ecosystem_surface.fixtures.ts:7
↓ 580 callersFunctionexpect
(r: Reader, t: number, what: string)
phon/typescript/packages/phon-schema/src/schema.ts:923
↓ 544 callersMethodpush_str
(&mut self, s: &str)
facet-dom/src/serializer/write_scalar.rs:280
↓ 520 callersMethodas_ref
(&self)
facet-core/src/types/builtins.rs:474
↓ 459 callersMethoditer
(&self)
facet-value/src/object.rs:492
↓ 434 callersMethodpush
(&mut self, kind: SchemaKind)
phon/rust/phon-engine/tests/compat_fuzz.rs:235
↓ 393 callersMethodset
Sets the value to a new value. This replaces the entire value. The new value must have the same shape.
facet-reflect/src/poke/value.rs:444
↓ 388 callersMethodlen
Get the length of this path.
facet-path/src/lib.rs:187
↓ 385 callersFunctionid
(n: number)
phon/typescript/packages/phon-engine/src/ecosystem_surface.fixtures.ts:6
↓ 385 callersFunctionschema
(schemaId: bigint, kind: SchemaKind)
phon/typescript/packages/phon-engine/src/ecosystem_surface.fixtures.ts:10
↓ 369 callersMethodclone
(&self)
vox/rust/vox-rt/src/sync.rs:17
↓ 361 callersMethodsend
(payload: Uint8Array)
vox/typescript/packages/vox-core/src/link.ts:11
↓ 358 callersMethodfind
(&self, name: &str, core: &TypePlanCore)
facet-reflect/src/partial/typeplan.rs:898
↓ 357 callersMethodjoin
(mut self, join: Join)
dibs-sql/src/stmt.rs:367
↓ 354 callersMethodlen
Length of the span
figue/src/span.rs:20
↓ 351 callersMethodpush
(&mut self, s: &str)
dibs/src/query/build.rs:30
↓ 341 callersMethodpush
Push an item.
styx-tree/src/value.rs:447
↓ 338 callersMethodis_empty
Check if this path is empty.
facet-path/src/lib.rs:192
↓ 327 callersMethodlen
Length in bytes of the encoded key.
picante/src/key.rs:94
↓ 325 callersMethodinsert
(&self, table: &str)
dibs/src/query/exec.rs:56
↓ 320 callersMethodis_some
(&self)
facet-reflect/src/poke/option.rs:52
↓ 310 callersMethoditer
Iterate over parameters by name and type.
dibs-query-schema/src/lib.rs:833
↓ 290 callersFunctionskip
Advance the reader past one writer value described by `op`, writing nothing to memory. The wire-shape mirror of the decode cursor moves, sharing the `
phon/rust/phon-ir/src/ir.rs:335
↓ 288 callersFunctionfrom_str
Deserialize a value from a JSON string into an owned type. This is the recommended default for most use cases. The input does not need to outlive the
facet-json/src/lib.rs:101
↓ 274 callersMethodbegin_field
Selects a field (by name) of a struct or enum data. For enums, the variant needs to be selected first, see [Self::select_nth_variant] and friends.
facet-reflect/src/partial/partial_api/fields.rs:114
↓ 269 callersMethodset_field
Sets a field of the current variant by index. Returns an error if: - The parent enum is not POD - The index is out of bounds - The value type doesn't
facet-reflect/src/poke/enum_.rs:220
↓ 266 callersMethodbuild
Build a TypePlan for type `T`. The type parameter provides compile-time safety: you cannot accidentally pass a `TypePlan<Foo>` where `TypePlan<Bar>`
facet-reflect/src/partial/typeplan.rs:1757
↓ 253 callersMethodpush
(payload: Uint8Array)
vox/typescript/packages/vox-core/src/connection.test.ts:116
↓ 252 callersFunctionfrom_str
Deserialize a value from a Lua table string into an owned type. # Example ``` use facet::Facet; use facet_lua::from_str; #[derive(Facet, Debug, Par
facet-lua/src/lib.rs:139
↓ 249 callersFunctionspawn
(future: F)
vox/rust/vox-rt/src/task.rs:58
↓ 246 callersMethodshape
(&self)
facet-core/src/types/shape.rs:772
↓ 244 callersFunctionfrom_str
Helper to deserialize XML using facet-xml
facet-xml/tests/namespace.rs:12
↓ 222 callersMethodlock
(&self)
vox/rust/vox-rt/src/sync.rs:519
↓ 220 callersMethoderror
(msg: string, ...args: unknown[])
vox/typescript/packages/vox-core/src/logger.ts:8
↓ 219 callersMethodparse
(source: string)
playgrounds/codemirror/src/index.ts:21
↓ 217 callersMethodmap
Map a `TypeRef<Id>` to `TypeRef<OtherId>` by applying `f` to every concrete ID.
vox/rust/vox-schema/src/lib.rs:224
↓ 217 callersFunctionparse
(source: &str)
styx-wasm/src/lib.rs:45
↓ 217 callersFunctionrun_cross_language_scenario
Run a cross-language scenario: spawn `server_spec` in server-listen mode, then spawn `client_spec` as a client pointing at the server. The harness orc
vox/spec/spec-tests/src/harness.rs:4612
↓ 208 callersFunctionvariant
(name: string, index: number, payload: VariantPayload)
phon/typescript/packages/phon-engine/src/ecosystem_surface.fixtures.ts:11
↓ 201 callersMethodadd
(mut self)
phon/rust/phon-codegen/src/source.rs:80
↓ 201 callersMethodas_str
(self)
dibs-sql/src/stmt.rs:173
↓ 200 callersMethodget
(&self, index: usize)
facet-value/src/array.rs:253
↓ 200 callersMethodmap
(self, f: F)
strid-macros/src/codegen/impls.rs:12
↓ 198 callersMethodnext
(&mut self)
facet-value/src/array.rs:302
↓ 197 callersMethodas_bytes
(&self)
facet-value/src/value.rs:459
↓ 196 callersMethodinsert
(&mut self, index: usize, value: impl Into<Value>)
facet-value/src/array.rs:191
↓ 195 callersMethodrecv
()
vox/typescript/packages/vox-core/src/link.ts:12
↓ 186 callersMethodpush
(&mut self, frame: ContextFrame<'a>)
facet-macros-impl/src/plugin.rs:635
↓ 182 callersMethodtake
Takes this value, replacing it with `Value::NULL`.
facet-value/src/value.rs:597
↓ 180 callersMethodok
Send a successful response for this request attempt, consuming this `Call`. Equivalent to `self.reply(Ok(value)).await`.
vox/rust/vox-types/src/calls.rs:103
↓ 179 callersMethodunwrap_err
Unwrap the error, panicking if this is a success. Useful for testing error cases. # Panics Panics if this is a successful parse.
figue/src/driver.rs:1122
↓ 178 callersFunctionfrom_str
Deserialize a value from a YAML string into an owned type. This is the recommended default for most use cases. The input does not need to outlive the
facet-yaml/src/lib.rs:76
↓ 177 callersMethodpush
Add a point
facet-svg/src/points.rs:27
↓ 174 callersMethodas_mut_ptr
(self)
facet-core/src/types/ptr/mod.rs:224
↓ 171 callersMethodclose
()
vox/typescript/packages/vox-core/src/link.ts:13
↓ 171 callersMethoditer
Iterate over entries as (key, value) pairs.
styx-tree/src/value.rs:364
↓ 169 callersMethoderr
(&self, kind: ReflectErrorKind)
facet-reflect/src/partial/partial_api/misc.rs:2849
↓ 169 callersMethodis_none
(&self)
facet-reflect/src/poke/option.rs:58
↓ 167 callersMethodptr
(&self)
facet-core/src/types/builtins.rs:105
↓ 165 callersFunctionfrom_str
Deserialize a value from a TOML string into an owned type. This is the recommended default for most use cases. The input does not need to outlive the
facet-toml/src/lib.rs:79
↓ 163 callersMethodcontains
Create @> expression (contains, typically for JSONB)
dibs-sql/src/expr.rs:239
↓ 160 callersMethodbuild
Build the VTable.
facet-core/src/types/vtable.rs:725
↓ 157 callersMethodassume_init
(self)
facet-core/src/types/ptr/mod.rs:458
↓ 157 callersMethodlen
Get the number of elements.
styx-cst/src/ast.rs:323
↓ 155 callersMethodbegin_nth_field
Begins the nth field of a struct, enum variant, or array, by index. On success, this pushes a new frame which must be ended with a call to [Partial::
facet-reflect/src/partial/partial_api/fields.rs:129
↓ 155 callersMethodget
Access the inner value with the lifetime properly shortened. Returns `&'a T::Ref<'a>` instead of `&'a T` — the inner lifetime is tied to the borrow,
vox/rust/vox-types/src/selfref.rs:176
↓ 154 callersMethodinto_iter
(self)
figue/src/schema.rs:48
↓ 154 callersMethodpop
Pop the last step from the path.
facet-path/src/lib.rs:177
↓ 152 callersMethodadd
Register a root type `T`. Nested types reachable from `T` are emitted automatically.
facet-zod/src/generator.rs:36
↓ 150 callersMethodextend
(&mut self, iter: I)
facet-value/src/array.rs:459
↓ 146 callersMethodexecute
Execute a statement, returning the number of rows affected.
dibs/src/traced.rs:57
↓ 136 callersFunctionsetup
Set up a tracing subscriber for tests. This function ensures the subscriber is initialized exactly once using [`LazyLock`], making it safe to use wit
facet-testhelpers/src/lib.rs:171
↓ 135 callersMethodargs
Get the top-level arguments schema.
figue/src/schema.rs:579
↓ 135 callersMethodget
r[input.get] Read an input value. If there's an active query frame, records a dependency edge.
picante/src/ingredient/input.rs:494
↓ 134 callersFunctionbuild
()
facet-reflect/tests/partial/misc.rs:334
↓ 134 callersMethodlast
Get the last segment, if any.
facet-reflect/src/resolution.rs:275
↓ 133 callersMethodas_mut_byte_ptr
(self)
facet-core/src/types/ptr/mod.rs:181
↓ 133 callersMethodfilter
Add a filter condition.
dibs/src/query/ast.rs:49
↓ 132 callersMethodeffective_name
(&self)
facet-core/src/types/shape.rs:305
↓ 132 callersMethodshape
(&self)
facet-reflect/src/partial/partial_api/misc.rs:59
↓ 132 callersMethodsize
()
styx-docs/static/codemirror-styx/index.js:394
↓ 131 callersMethoddef
(mut self, def: Def)
facet-core/src/types/shape/shape_builder.rs:217
↓ 131 callersMethodpush
Push a value onto the end of the list. Returns an error if the underlying list type does not support push (e.g. immutable lists) or if the value's sh
facet-reflect/src/poke/list.rs:147
↓ 128 callersMethodty
(mut self, ty: Type)
facet-core/src/types/shape/shape_builder.rs:210
↓ 125 callersFunctionunit
()
phon/typescript/packages/phon-engine/src/ecosystem_surface.fixtures.ts:12
↓ 122 callersMethodput
(self, value: T)
facet-core/src/types/ptr/mod.rs:467
↓ 121 callersMethodestablish_connection
Establish the Vox connection and start its driven runtime. The control lane is private; user services are reached by opening lanes on the returned [`
vox/rust/vox-core/src/connection/builders.rs:560
↓ 121 callersMethodstarts_with
(&self, s: &[u8])
facet-lua/src/parser.rs:209
next →1–100 of 19,978, ranked by callers