Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/facet-rs/facet
/ functions
Functions
19,978 in github.com/facet-rs/facet
⨍
Functions
19,978
◇
Types & classes
6,128
↓ 5,322 callers
Method
unwrap
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 callers
Method
expect
(type: TokenType)
implementations/styx-js/src/parser.ts:50
↓ 1,207 callers
Method
map
Map the inner value to a new type.
facet-styx/src/schema_types.rs:443
↓ 1,115 callers
Method
collect
Collect cache statistics from the runtime.
picante/src/debug.rs:230
↓ 1,077 callers
Method
clone
()
vox/typescript/packages/vox-core/src/metadata.ts:61
↓ 1,041 callers
Function
field
(name: string, schema: SchemaRef, required = true)
phon/typescript/packages/phon-engine/src/ecosystem_surface.fixtures.ts:9
↓ 744 callers
Method
clone
(&self)
facet-value/src/value.rs:605
↓ 724 callers
Method
iter
Iterate over all args with their effective names.
figue/src/schema.rs:34
↓ 652 callers
Method
end
Get the end offset (offset + len).
facet-reflect/src/spanned.rs:69
↓ 628 callers
Function
prim
(primitive: Primitive)
phon/typescript/packages/phon-engine/src/ecosystem_surface.fixtures.ts:8
↓ 626 callers
Method
push
Push a step onto the path.
facet-path/src/lib.rs:172
↓ 614 callers
Method
push_str
Push a string directly, returning span and display width.
rediff/src/layout/arena.rs:72
↓ 603 callers
Function
ref
(schema: bigint)
phon/typescript/packages/phon-engine/src/ecosystem_surface.fixtures.ts:7
↓ 580 callers
Function
expect
(r: Reader, t: number, what: string)
phon/typescript/packages/phon-schema/src/schema.ts:923
↓ 544 callers
Method
push_str
(&mut self, s: &str)
facet-dom/src/serializer/write_scalar.rs:280
↓ 520 callers
Method
as_ref
(&self)
facet-core/src/types/builtins.rs:474
↓ 459 callers
Method
iter
(&self)
facet-value/src/object.rs:492
↓ 434 callers
Method
push
(&mut self, kind: SchemaKind)
phon/rust/phon-engine/tests/compat_fuzz.rs:235
↓ 393 callers
Method
set
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 callers
Method
len
Get the length of this path.
facet-path/src/lib.rs:187
↓ 385 callers
Function
id
(n: number)
phon/typescript/packages/phon-engine/src/ecosystem_surface.fixtures.ts:6
↓ 385 callers
Function
schema
(schemaId: bigint, kind: SchemaKind)
phon/typescript/packages/phon-engine/src/ecosystem_surface.fixtures.ts:10
↓ 369 callers
Method
clone
(&self)
vox/rust/vox-rt/src/sync.rs:17
↓ 361 callers
Method
send
(payload: Uint8Array)
vox/typescript/packages/vox-core/src/link.ts:11
↓ 358 callers
Method
find
(&self, name: &str, core: &TypePlanCore)
facet-reflect/src/partial/typeplan.rs:898
↓ 357 callers
Method
join
(mut self, join: Join)
dibs-sql/src/stmt.rs:367
↓ 354 callers
Method
len
Length of the span
figue/src/span.rs:20
↓ 351 callers
Method
push
(&mut self, s: &str)
dibs/src/query/build.rs:30
↓ 341 callers
Method
push
Push an item.
styx-tree/src/value.rs:447
↓ 338 callers
Method
is_empty
Check if this path is empty.
facet-path/src/lib.rs:192
↓ 327 callers
Method
len
Length in bytes of the encoded key.
picante/src/key.rs:94
↓ 325 callers
Method
insert
(&self, table: &str)
dibs/src/query/exec.rs:56
↓ 320 callers
Method
is_some
(&self)
facet-reflect/src/poke/option.rs:52
↓ 310 callers
Method
iter
Iterate over parameters by name and type.
dibs-query-schema/src/lib.rs:833
↓ 290 callers
Function
skip
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 callers
Function
from_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 callers
Method
begin_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 callers
Method
set_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 callers
Method
build
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 callers
Method
push
(payload: Uint8Array)
vox/typescript/packages/vox-core/src/connection.test.ts:116
↓ 252 callers
Function
from_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 callers
Function
spawn
(future: F)
vox/rust/vox-rt/src/task.rs:58
↓ 246 callers
Method
shape
(&self)
facet-core/src/types/shape.rs:772
↓ 244 callers
Function
from_str
Helper to deserialize XML using facet-xml
facet-xml/tests/namespace.rs:12
↓ 222 callers
Method
lock
(&self)
vox/rust/vox-rt/src/sync.rs:519
↓ 220 callers
Method
error
(msg: string, ...args: unknown[])
vox/typescript/packages/vox-core/src/logger.ts:8
↓ 219 callers
Method
parse
(source: string)
playgrounds/codemirror/src/index.ts:21
↓ 217 callers
Method
map
Map a `TypeRef<Id>` to `TypeRef<OtherId>` by applying `f` to every concrete ID.
vox/rust/vox-schema/src/lib.rs:224
↓ 217 callers
Function
parse
(source: &str)
styx-wasm/src/lib.rs:45
↓ 217 callers
Function
run_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 callers
Function
variant
(name: string, index: number, payload: VariantPayload)
phon/typescript/packages/phon-engine/src/ecosystem_surface.fixtures.ts:11
↓ 201 callers
Method
add
(mut self)
phon/rust/phon-codegen/src/source.rs:80
↓ 201 callers
Method
as_str
(self)
dibs-sql/src/stmt.rs:173
↓ 200 callers
Method
get
(&self, index: usize)
facet-value/src/array.rs:253
↓ 200 callers
Method
map
(self, f: F)
strid-macros/src/codegen/impls.rs:12
↓ 198 callers
Method
next
(&mut self)
facet-value/src/array.rs:302
↓ 197 callers
Method
as_bytes
(&self)
facet-value/src/value.rs:459
↓ 196 callers
Method
insert
(&mut self, index: usize, value: impl Into<Value>)
facet-value/src/array.rs:191
↓ 195 callers
Method
recv
()
vox/typescript/packages/vox-core/src/link.ts:12
↓ 186 callers
Method
push
(&mut self, frame: ContextFrame<'a>)
facet-macros-impl/src/plugin.rs:635
↓ 182 callers
Method
take
Takes this value, replacing it with `Value::NULL`.
facet-value/src/value.rs:597
↓ 180 callers
Method
ok
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 callers
Method
unwrap_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 callers
Function
from_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 callers
Method
push
Add a point
facet-svg/src/points.rs:27
↓ 174 callers
Method
as_mut_ptr
(self)
facet-core/src/types/ptr/mod.rs:224
↓ 171 callers
Method
close
()
vox/typescript/packages/vox-core/src/link.ts:13
↓ 171 callers
Method
iter
Iterate over entries as (key, value) pairs.
styx-tree/src/value.rs:364
↓ 169 callers
Method
err
(&self, kind: ReflectErrorKind)
facet-reflect/src/partial/partial_api/misc.rs:2849
↓ 169 callers
Method
is_none
(&self)
facet-reflect/src/poke/option.rs:58
↓ 167 callers
Method
ptr
(&self)
facet-core/src/types/builtins.rs:105
↓ 165 callers
Function
from_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 callers
Method
contains
Create @> expression (contains, typically for JSONB)
dibs-sql/src/expr.rs:239
↓ 160 callers
Method
build
Build the VTable.
facet-core/src/types/vtable.rs:725
↓ 157 callers
Method
assume_init
(self)
facet-core/src/types/ptr/mod.rs:458
↓ 157 callers
Method
len
Get the number of elements.
styx-cst/src/ast.rs:323
↓ 155 callers
Method
begin_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 callers
Method
get
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 callers
Method
into_iter
(self)
figue/src/schema.rs:48
↓ 154 callers
Method
pop
Pop the last step from the path.
facet-path/src/lib.rs:177
↓ 152 callers
Method
add
Register a root type `T`. Nested types reachable from `T` are emitted automatically.
facet-zod/src/generator.rs:36
↓ 150 callers
Method
extend
(&mut self, iter: I)
facet-value/src/array.rs:459
↓ 146 callers
Method
execute
Execute a statement, returning the number of rows affected.
dibs/src/traced.rs:57
↓ 136 callers
Function
setup
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 callers
Method
args
Get the top-level arguments schema.
figue/src/schema.rs:579
↓ 135 callers
Method
get
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 callers
Function
build
()
facet-reflect/tests/partial/misc.rs:334
↓ 134 callers
Method
last
Get the last segment, if any.
facet-reflect/src/resolution.rs:275
↓ 133 callers
Method
as_mut_byte_ptr
(self)
facet-core/src/types/ptr/mod.rs:181
↓ 133 callers
Method
filter
Add a filter condition.
dibs/src/query/ast.rs:49
↓ 132 callers
Method
effective_name
(&self)
facet-core/src/types/shape.rs:305
↓ 132 callers
Method
shape
(&self)
facet-reflect/src/partial/partial_api/misc.rs:59
↓ 132 callers
Method
size
()
styx-docs/static/codemirror-styx/index.js:394
↓ 131 callers
Method
def
(mut self, def: Def)
facet-core/src/types/shape/shape_builder.rs:217
↓ 131 callers
Method
push
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 callers
Method
ty
(mut self, ty: Type)
facet-core/src/types/shape/shape_builder.rs:210
↓ 125 callers
Function
unit
()
phon/typescript/packages/phon-engine/src/ecosystem_surface.fixtures.ts:12
↓ 122 callers
Method
put
(self, value: T)
facet-core/src/types/ptr/mod.rs:467
↓ 121 callers
Method
establish_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 callers
Method
starts_with
(&self, s: &[u8])
facet-lua/src/parser.rs:209
next →
1–100 of 19,978, ranked by callers