Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Alex6357/alloy
/ functions
Functions
64 in github.com/Alex6357/alloy
⨍
Functions
64
◇
Types & classes
16
↓ 8 callers
Method
readU32
()
frontend/src/alloy/buffer.ts:179
↓ 8 callers
Method
read_u32
(&mut self)
src/buffer.rs:53
↓ 7 callers
Method
writeU32
(value: number)
frontend/src/alloy/buffer.ts:26
↓ 6 callers
Method
writeU8
(value: number)
frontend/src/alloy/buffer.ts:25
↓ 5 callers
Method
parse_color
Parse hex color strings to GPUI Rgba values
src/main.rs:726
↓ 5 callers
Method
read_string
(&mut self)
src/buffer.rs:59
↓ 5 callers
Method
writeString
(value: string)
frontend/src/alloy/buffer.ts:27
↓ 4 callers
Method
expand
()
frontend/src/alloy/buffer.ts:83
↓ 3 callers
Method
read_command
Read next command from buffer, returns None on EOF
src/buffer.rs:67
↓ 3 callers
Function
writeSetStyle
( writer: CommandWriter, nodeId: number, key: string, value: string, )
frontend/src/alloy/buffer.ts:109
↓ 3 callers
Function
writeSetText
(writer: CommandWriter, nodeId: number, text: string)
frontend/src/alloy/buffer.ts:102
↓ 2 callers
Method
appendChild
(child: GenNode | string)
frontend/src/alloy/renderer.ts:52
↓ 2 callers
Function
writeAppendChild
(writer: CommandWriter, parentId: number, childId: number)
frontend/src/alloy/buffer.ts:122
↓ 1 callers
Method
addEventListener
(event: string, handler: EventListener)
frontend/src/alloy/renderer.ts:90
↓ 1 callers
Method
apply
(&mut self, action: Action)
src/main.rs:56
↓ 1 callers
Method
flush
()
frontend/src/alloy/buffer.ts:28
↓ 1 callers
Function
flushCommands
()
frontend/src/alloy/renderer.ts:244
↓ 1 callers
Function
initRenderer
(writer: BinaryCommandWriter)
frontend/src/alloy/renderer.ts:237
↓ 1 callers
Method
insertBefore
(newChild: GenNode | string, refChild: GenNode | null | undefined)
frontend/src/alloy/renderer.ts:63
↓ 1 callers
Function
main
()
frontend/src/app.tsx:142
↓ 1 callers
Method
new
()
src/main.rs:48
↓ 1 callers
Method
process_actions
(&mut self)
src/main.rs:334
↓ 1 callers
Method
process_events
Dispatch pending events to JavaScript event handlers
src/main.rs:358
↓ 1 callers
Method
readEvent
()
frontend/src/alloy/buffer.ts:192
↓ 1 callers
Method
readString
()
frontend/src/alloy/buffer.ts:185
↓ 1 callers
Method
readU8
()
frontend/src/alloy/buffer.ts:173
↓ 1 callers
Method
read_all
Read all remaining commands from buffer
src/buffer.rs:153
↓ 1 callers
Method
read_u8
(&mut self)
src/buffer.rs:47
↓ 1 callers
Method
removeChild
(child: GenNode)
frontend/src/alloy/renderer.ts:81
↓ 1 callers
Method
render_node
(&self, state: &AlloyState, node_id: u32, view_id: EntityId)
src/main.rs:442
↓ 1 callers
Method
reset
()
frontend/src/alloy/buffer.ts:29
↓ 1 callers
Function
setRoot
(node: GenNode)
frontend/src/alloy/renderer.ts:255
↓ 1 callers
Method
tick_frame
Three-phase frame loop: 1. Execute JavaScript microtasks (Promises, reactive effects) 2. Process user events and dispatch to JavaScript 3. Apply UI up
src/main.rs:431
↓ 1 callers
Function
writeAddListener
(writer: CommandWriter, nodeId: number, event: string)
frontend/src/alloy/buffer.ts:135
↓ 1 callers
Function
writeCreateNode
(writer: CommandWriter, nodeId: number, tag: string)
frontend/src/alloy/buffer.ts:95
↓ 1 callers
Function
writeSetRoot
(writer: CommandWriter, nodeId: number)
frontend/src/alloy/buffer.ts:129
Function
Counter
()
frontend/src/app.tsx:15
Method
constructor
(capacity: number = 4096)
frontend/src/alloy/buffer.ts:42
Method
constructor
(buffer: ArrayBuffer)
frontend/src/alloy/buffer.ts:169
Method
constructor
(tag: string)
frontend/src/alloy/renderer.ts:45
Function
createElement
(tag: string)
frontend/src/alloy/renderer.ts:142
Function
createTextNode
(text: string)
frontend/src/alloy/renderer.ts:146
Method
flush
()
frontend/src/alloy/buffer.ts:75
Function
getFirstChild
(node: GenNode)
frontend/src/alloy/renderer.ts:220
Function
getNextSibling
(node: GenNode)
frontend/src/alloy/renderer.ts:224
Function
getParentNode
(node: GenNode)
frontend/src/alloy/renderer.ts:216
Function
handleEvent
(nodeId: number, eventType: string)
frontend/src/alloy/renderer.ts:264
Function
insertNode
(parent: GenNode, node: GenNode | string, anchor: GenNode | null)
frontend/src/alloy/renderer.ts:200
Function
isTextNode
(node: any)
frontend/src/alloy/renderer.ts:208
Function
main
()
src/main.rs:789
Method
new
Create a new reader from a byte buffer
src/buffer.rs:41
Method
readAll
()
frontend/src/alloy/buffer.ts:223
Method
removeEventListener
(event: string)
frontend/src/alloy/renderer.ts:106
Function
removeNode
(parent: GenNode, node: GenNode)
frontend/src/alloy/renderer.ts:212
Method
render
(&mut self, _: &mut Window, cx: &mut Context<Self>)
src/main.rs:741
Function
replaceText
(node: GenNode, text: string)
frontend/src/alloy/renderer.ts:152
Method
reset
()
frontend/src/alloy/buffer.ts:79
Function
setProperty
(node: GenNode, name: string, value: any)
frontend/src/alloy/renderer.ts:157
Function
test_parse_create_node
()
src/buffer.rs:167
Function
test_parse_set_text
()
src/buffer.rs:185
Method
textContent
()
frontend/src/alloy/renderer.ts:113
Method
writeString
(value: string)
frontend/src/alloy/buffer.ts:60
Method
writeU32
(value: number)
frontend/src/alloy/buffer.ts:53
Method
writeU8
(value: number)
frontend/src/alloy/buffer.ts:47