Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AThilenius/logic-paint-rs
/ functions
Functions
178 in github.com/AThilenius/logic-paint-rs
⨍
Functions
178
◇
Types & classes
67
↓ 42 callers
Method
get_bit
(&self, bit: Bit)
src/upc.rs:33
↓ 35 callers
Method
get_cell
Gets the cell at the given location, returning default if the chunk doesn't exist.
src/substrate/buffer.rs:65
↓ 21 callers
Method
set_cell
Sets the cell at the given location, allocating a chunk to house it if needed. Note that setting and clearing a socket will have no effect, you must u
src/substrate/buffer.rs:80
↓ 20 callers
Function
range_iter
(from: i32, to: i32)
src/utils/iter.rs:22
↓ 16 callers
Method
set_cardinal
(&mut self, dir: IVec2)
src/upc.rs:448
↓ 13 callers
Method
get_key_code
(&self, key_code: &str)
src/substrate/io.rs:221
↓ 12 callers
Function
dr_sr
(value: u16)
lc3b/src/main.rs:431
↓ 11 callers
Method
get
(upc: UPC, bit: Bit)
src/upc.rs:142
↓ 11 callers
Method
has_cardinal
(&self, dir: IVec2)
src/upc.rs:468
↓ 11 callers
Function
sr1_base_r
(value: u16)
lc3b/src/main.rs:436
↓ 10 callers
Function
buffer_as_single_image
()
src/substrate/compress.rs:487
↓ 10 callers
Method
clear_cell_metal
(&mut self, cell_coord: CellCoord)
src/substrate/buffer_brush.rs:583
↓ 10 callers
Method
clear_cell_si
(&mut self, cell_coord: CellCoord)
src/substrate/buffer_brush.rs:531
↓ 10 callers
Method
draw_metal_link
(&mut self, from: Option<CellCoord>, to: CellCoord)
src/substrate/buffer_brush.rs:498
↓ 9 callers
Method
set_cc
(&mut self)
lc3b/src/main.rs:409
↓ 8 callers
Method
cardinal_vectors
(&self)
src/upc.rs:429
↓ 8 callers
Method
first_cell_coord
(&self)
src/coords.rs:165
↓ 7 callers
Method
set
(upc: &mut UPC, bit: Bit, value: bool)
src/upc.rs:166
↓ 6 callers
Method
clear_cardinal
(&mut self, dir: IVec2)
src/upc.rs:458
↓ 6 callers
Method
draw_si_link
(&mut self, from: Option<CellCoord>, to: CellCoord, paint_n: bool)
src/substrate/buffer_brush.rs:262
↓ 6 callers
Function
import_legacy_blueprint
(json_str: String)
src/utils/convert.rs:27
↓ 6 callers
Method
set
(&self, ctx: &WebGl2RenderingContext, v: u32)
src/wgl2/uniform.rs:33
↓ 6 callers
Method
transition
Transisition the boolean state forward, given the new input. Steps to/from both single-frame states and steady states.
src/substrate/io.rs:43
↓ 5 callers
Method
bind
(&self)
src/wgl2/texture.rs:56
↓ 5 callers
Method
clone_selection
(&self, selection: &Selection, anchor: CellCoord)
src/substrate/buffer.rs:120
↓ 5 callers
Method
fix_cell
(&mut self, cell_coord: CellCoord)
src/substrate/buffer.rs:271
↓ 5 callers
Method
get_key
(&self, key: &str)
src/substrate/io.rs:211
↓ 5 callers
Method
project_screen_point_to_world
Project a screen x,y point into the world. Z axis is ignored because I don't need it.
src/wgl2/camera.rs:90
↓ 5 callers
Method
set_bit
(&mut self, bit: Bit)
src/upc.rs:38
↓ 5 callers
Method
tick
Steps the boolean state forward if it's in a single-frame state (clicked or released). Has no effect if the state is steady (inactive or held)
src/substrate/io.rs:23
↓ 4 callers
Method
paste_at
(&mut self, cell_coord: CellCoord, buffer: &Buffer)
src/substrate/buffer.rs:138
↓ 3 callers
Method
get_gpios_mut
(&mut self)
src/module.rs:82
↓ 3 callers
Method
handle_dispatch_result
( &mut self, dispatch_result: &mut EditorDispatchResult, idx: usize, output: T
src/project.rs:149
↓ 3 callers
Method
is_zero
(&self)
src/utils/selection.rs:48
↓ 3 callers
Method
project_screen_point_to_cell
Project a screen point to a cell location. It's the caller's responsibility to ensure the point is within the visible bounds of the window.
src/wgl2/camera.rs:115
↓ 3 callers
Method
set_cell_unchecked
Sets the cell without first clearing socket or bond pad bits
src/substrate/buffer.rs:239
↓ 3 callers
Function
sr2
(value: u16)
lc3b/src/main.rs:441
↓ 3 callers
Method
update_proj_matrix
(&mut self)
src/wgl2/camera.rs:65
↓ 2 callers
Method
activate
(&mut self, buffer: Buffer)
src/tools/visual.rs:30
↓ 2 callers
Function
brotli_one_channel
()
src/substrate/compress.rs:269
↓ 2 callers
Function
compile_shader
( context: &WebGl2RenderingContext, shader_type: u32, source: &str, )
src/wgl2/cell_program.rs:71
↓ 2 callers
Method
get_cells
(&self)
src/substrate/buffer.rs:452
↓ 2 callers
Method
get_cells_mut
(&mut self)
src/substrate/buffer.rs:456
↓ 2 callers
Method
get_drag_path
(&self)
src/substrate/io.rs:231
↓ 2 callers
Method
get_or_create_chunk_mut
(&mut self, c: T)
src/substrate/mask.rs:66
↓ 2 callers
Method
get_view_matrix
(&self)
src/wgl2/camera.rs:57
↓ 2 callers
Method
get_view_proj_matrix
(&self)
src/wgl2/camera.rs:53
↓ 2 callers
Method
last_cell_coord
(&self)
src/coords.rs:172
↓ 2 callers
Method
set_pixels
(&self, pixels: &[u8])
src/wgl2/texture.rs:61
↓ 2 callers
Method
set_socket
Sets the `cell_coord` to have a socket with the given unique name. If the name is non-unique, a number will be appended to the end of the name. Settin
src/substrate/buffer.rs:89
↓ 2 callers
Method
to_cell_coord
(&self, chunk_coord: &ChunkCoord)
src/coords.rs:183
↓ 2 callers
Method
use_program
(&self, ctx: &WebGl2RenderingContext)
src/wgl2/cell_program.rs:66
↓ 1 callers
Function
brotli_one_channel_at_level
(level: u32)
src/substrate/compress.rs:457
↓ 1 callers
Function
brotli_one_channel_rg_chunked
()
src/substrate/compress.rs:330
↓ 1 callers
Function
brotli_one_channel_rgba_chunked
()
src/substrate/compress.rs:312
↓ 1 callers
Function
brotli_two_channel
()
src/substrate/compress.rs:287
↓ 1 callers
Method
clear_selection
(&mut self, selection: &Selection)
src/substrate/buffer_brush.rs:156
↓ 1 callers
Method
clear_selection_border
(&mut self, selection: &Selection)
src/substrate/buffer_brush.rs:243
↓ 1 callers
Method
deactivate
(&mut self, _buffer: Buffer)
src/tools/visual.rs:38
↓ 1 callers
Function
deflate_one_channel
()
src/substrate/compress.rs:221
↓ 1 callers
Function
deflate_two_channel
()
src/substrate/compress.rs:238
↓ 1 callers
Method
draw_label
(&mut self, cell_coord: CellCoord, text: &str, cursor: Option<usize>)
src/substrate/buffer_brush.rs:174
↓ 1 callers
Method
draw_via
(&mut self, cell_coord: CellCoord)
src/substrate/buffer_brush.rs:144
↓ 1 callers
Method
get_chunk
(&self, c: T)
src/substrate/mask.rs:46
↓ 1 callers
Method
get_name
(&self)
src/module.rs:73
↓ 1 callers
Method
is_mosfet
(&self)
src/upc.rs:42
↓ 1 callers
Function
link_program
( context: &WebGl2RenderingContext, vert_shader: &WebGlShader, frag_shader: &WebGlShader, )
src/wgl2/cell_program.rs:95
↓ 1 callers
Function
make_name_unique
Takes in a name and makes it unique against the `existing` names by either incrementing an existing number at the end of the name (if provided) or app
src/utils/names.rs:4
↓ 1 callers
Method
mirror
(&self)
src/upc.rs:88
↓ 1 callers
Method
mirror_to_new
(&self)
src/substrate/buffer.rs:201
↓ 1 callers
Method
next
(&mut self)
src/utils/iter.rs:10
↓ 1 callers
Function
parser_test
Example usage
lc3b/src/parser.rs:117
↓ 1 callers
Method
rotate
(&self)
src/upc.rs:46
↓ 1 callers
Method
rotate_to_new
(&self)
src/substrate/buffer.rs:180
↓ 1 callers
Function
snappy_one_channel_rg_chunked
()
src/substrate/compress.rs:358
↓ 1 callers
Function
snappy_two_channel
()
src/substrate/compress.rs:385
↓ 1 callers
Function
snappy_two_channel_chunked
()
src/substrate/compress.rs:412
↓ 1 callers
Function
tiff_gray_gray_deflate
()
src/substrate/compress.rs:150
↓ 1 callers
Function
tiff_rgba_deflate
()
src/substrate/compress.rs:132
↓ 1 callers
Function
tiff_rgba_lzw
()
src/substrate/compress.rs:114
↓ 1 callers
Function
tiff_rgba_packbits
()
src/substrate/compress.rs:203
↓ 1 callers
Method
to_bytes
(&self)
src/substrate/buffer_serde.rs:39
↓ 1 callers
Method
to_upc_idx
(&self)
src/coords.rs:197
↓ 1 callers
Method
update
(&mut self, size: Vec2)
src/wgl2/camera.rs:46
↓ 1 callers
Function
v1_json
()
src/substrate/compress.rs:93
Method
_wasm_ctor
(x: i32, y: i32)
src/coords.rs:158
Method
activate
(&mut self, buffer: Buffer)
src/tools/draw_si.rs:26
Method
activate
(&mut self, buffer: Buffer)
src/tools/mod.rs:21
Method
activate
(&mut self, buffer: Buffer)
src/tools/draw_metal.rs:23
Method
activate
(&mut self, buffer: Buffer)
src/tools/place_socket.rs:25
Method
apply
Apply this delta to the `from` buffer, returning what would have been passed into the `to` arg of the `new` method.
src/substrate/buffer_delta.rs:91
Method
bind
(&self)
src/wgl2/quad_vao.rs:100
Method
bitor
(self, rhs: Self)
src/upc.rs:482
Method
cell_count
(&self)
src/substrate/buffer.rs:234
Method
clear_metal
( &mut self, CellCoord(start): CellCoord, CellCoord(end): CellCoord, initial_i
src/substrate/buffer_brush.rs:117
Method
clear_si
( &mut self, CellCoord(start): CellCoord, CellCoord(end): CellCoord, initial_i
src/substrate/buffer_brush.rs:90
Method
clock
Called each clock cycle.
src/module.rs:47
Method
clock
(&mut self, sim_state: &SimState)
src/module.rs:86
Function
compare_sizes
()
src/substrate/compress.rs:14
Method
compile
(ctx: &WebGl2RenderingContext)
src/wgl2/cell_program.rs:25
next →
1–100 of 178, ranked by callers