MCPcopy Create free account

hub / github.com/AThilenius/logic-paint-rs / functions

Functions178 in github.com/AThilenius/logic-paint-rs

↓ 42 callersMethodget_bit
(&self, bit: Bit)
src/upc.rs:33
↓ 35 callersMethodget_cell
Gets the cell at the given location, returning default if the chunk doesn't exist.
src/substrate/buffer.rs:65
↓ 21 callersMethodset_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 callersFunctionrange_iter
(from: i32, to: i32)
src/utils/iter.rs:22
↓ 16 callersMethodset_cardinal
(&mut self, dir: IVec2)
src/upc.rs:448
↓ 13 callersMethodget_key_code
(&self, key_code: &str)
src/substrate/io.rs:221
↓ 12 callersFunctiondr_sr
(value: u16)
lc3b/src/main.rs:431
↓ 11 callersMethodget
(upc: UPC, bit: Bit)
src/upc.rs:142
↓ 11 callersMethodhas_cardinal
(&self, dir: IVec2)
src/upc.rs:468
↓ 11 callersFunctionsr1_base_r
(value: u16)
lc3b/src/main.rs:436
↓ 10 callersFunctionbuffer_as_single_image
()
src/substrate/compress.rs:487
↓ 10 callersMethodclear_cell_metal
(&mut self, cell_coord: CellCoord)
src/substrate/buffer_brush.rs:583
↓ 10 callersMethodclear_cell_si
(&mut self, cell_coord: CellCoord)
src/substrate/buffer_brush.rs:531
↓ 10 callersMethoddraw_metal_link
(&mut self, from: Option<CellCoord>, to: CellCoord)
src/substrate/buffer_brush.rs:498
↓ 9 callersMethodset_cc
(&mut self)
lc3b/src/main.rs:409
↓ 8 callersMethodcardinal_vectors
(&self)
src/upc.rs:429
↓ 8 callersMethodfirst_cell_coord
(&self)
src/coords.rs:165
↓ 7 callersMethodset
(upc: &mut UPC, bit: Bit, value: bool)
src/upc.rs:166
↓ 6 callersMethodclear_cardinal
(&mut self, dir: IVec2)
src/upc.rs:458
↓ 6 callersMethoddraw_si_link
(&mut self, from: Option<CellCoord>, to: CellCoord, paint_n: bool)
src/substrate/buffer_brush.rs:262
↓ 6 callersFunctionimport_legacy_blueprint
(json_str: String)
src/utils/convert.rs:27
↓ 6 callersMethodset
(&self, ctx: &WebGl2RenderingContext, v: u32)
src/wgl2/uniform.rs:33
↓ 6 callersMethodtransition
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 callersMethodbind
(&self)
src/wgl2/texture.rs:56
↓ 5 callersMethodclone_selection
(&self, selection: &Selection, anchor: CellCoord)
src/substrate/buffer.rs:120
↓ 5 callersMethodfix_cell
(&mut self, cell_coord: CellCoord)
src/substrate/buffer.rs:271
↓ 5 callersMethodget_key
(&self, key: &str)
src/substrate/io.rs:211
↓ 5 callersMethodproject_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 callersMethodset_bit
(&mut self, bit: Bit)
src/upc.rs:38
↓ 5 callersMethodtick
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 callersMethodpaste_at
(&mut self, cell_coord: CellCoord, buffer: &Buffer)
src/substrate/buffer.rs:138
↓ 3 callersMethodget_gpios_mut
(&mut self)
src/module.rs:82
↓ 3 callersMethodhandle_dispatch_result
( &mut self, dispatch_result: &mut EditorDispatchResult, idx: usize, output: T
src/project.rs:149
↓ 3 callersMethodis_zero
(&self)
src/utils/selection.rs:48
↓ 3 callersMethodproject_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 callersMethodset_cell_unchecked
Sets the cell without first clearing socket or bond pad bits
src/substrate/buffer.rs:239
↓ 3 callersFunctionsr2
(value: u16)
lc3b/src/main.rs:441
↓ 3 callersMethodupdate_proj_matrix
(&mut self)
src/wgl2/camera.rs:65
↓ 2 callersMethodactivate
(&mut self, buffer: Buffer)
src/tools/visual.rs:30
↓ 2 callersFunctionbrotli_one_channel
()
src/substrate/compress.rs:269
↓ 2 callersFunctioncompile_shader
( context: &WebGl2RenderingContext, shader_type: u32, source: &str, )
src/wgl2/cell_program.rs:71
↓ 2 callersMethodget_cells
(&self)
src/substrate/buffer.rs:452
↓ 2 callersMethodget_cells_mut
(&mut self)
src/substrate/buffer.rs:456
↓ 2 callersMethodget_drag_path
(&self)
src/substrate/io.rs:231
↓ 2 callersMethodget_or_create_chunk_mut
(&mut self, c: T)
src/substrate/mask.rs:66
↓ 2 callersMethodget_view_matrix
(&self)
src/wgl2/camera.rs:57
↓ 2 callersMethodget_view_proj_matrix
(&self)
src/wgl2/camera.rs:53
↓ 2 callersMethodlast_cell_coord
(&self)
src/coords.rs:172
↓ 2 callersMethodset_pixels
(&self, pixels: &[u8])
src/wgl2/texture.rs:61
↓ 2 callersMethodset_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 callersMethodto_cell_coord
(&self, chunk_coord: &ChunkCoord)
src/coords.rs:183
↓ 2 callersMethoduse_program
(&self, ctx: &WebGl2RenderingContext)
src/wgl2/cell_program.rs:66
↓ 1 callersFunctionbrotli_one_channel_at_level
(level: u32)
src/substrate/compress.rs:457
↓ 1 callersFunctionbrotli_one_channel_rg_chunked
()
src/substrate/compress.rs:330
↓ 1 callersFunctionbrotli_one_channel_rgba_chunked
()
src/substrate/compress.rs:312
↓ 1 callersFunctionbrotli_two_channel
()
src/substrate/compress.rs:287
↓ 1 callersMethodclear_selection
(&mut self, selection: &Selection)
src/substrate/buffer_brush.rs:156
↓ 1 callersMethodclear_selection_border
(&mut self, selection: &Selection)
src/substrate/buffer_brush.rs:243
↓ 1 callersMethoddeactivate
(&mut self, _buffer: Buffer)
src/tools/visual.rs:38
↓ 1 callersFunctiondeflate_one_channel
()
src/substrate/compress.rs:221
↓ 1 callersFunctiondeflate_two_channel
()
src/substrate/compress.rs:238
↓ 1 callersMethoddraw_label
(&mut self, cell_coord: CellCoord, text: &str, cursor: Option<usize>)
src/substrate/buffer_brush.rs:174
↓ 1 callersMethoddraw_via
(&mut self, cell_coord: CellCoord)
src/substrate/buffer_brush.rs:144
↓ 1 callersMethodget_chunk
(&self, c: T)
src/substrate/mask.rs:46
↓ 1 callersMethodget_name
(&self)
src/module.rs:73
↓ 1 callersMethodis_mosfet
(&self)
src/upc.rs:42
↓ 1 callersFunctionlink_program
( context: &WebGl2RenderingContext, vert_shader: &WebGlShader, frag_shader: &WebGlShader, )
src/wgl2/cell_program.rs:95
↓ 1 callersFunctionmake_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 callersMethodmirror
(&self)
src/upc.rs:88
↓ 1 callersMethodmirror_to_new
(&self)
src/substrate/buffer.rs:201
↓ 1 callersMethodnext
(&mut self)
src/utils/iter.rs:10
↓ 1 callersFunctionparser_test
Example usage
lc3b/src/parser.rs:117
↓ 1 callersMethodrotate
(&self)
src/upc.rs:46
↓ 1 callersMethodrotate_to_new
(&self)
src/substrate/buffer.rs:180
↓ 1 callersFunctionsnappy_one_channel_rg_chunked
()
src/substrate/compress.rs:358
↓ 1 callersFunctionsnappy_two_channel
()
src/substrate/compress.rs:385
↓ 1 callersFunctionsnappy_two_channel_chunked
()
src/substrate/compress.rs:412
↓ 1 callersFunctiontiff_gray_gray_deflate
()
src/substrate/compress.rs:150
↓ 1 callersFunctiontiff_rgba_deflate
()
src/substrate/compress.rs:132
↓ 1 callersFunctiontiff_rgba_lzw
()
src/substrate/compress.rs:114
↓ 1 callersFunctiontiff_rgba_packbits
()
src/substrate/compress.rs:203
↓ 1 callersMethodto_bytes
(&self)
src/substrate/buffer_serde.rs:39
↓ 1 callersMethodto_upc_idx
(&self)
src/coords.rs:197
↓ 1 callersMethodupdate
(&mut self, size: Vec2)
src/wgl2/camera.rs:46
↓ 1 callersFunctionv1_json
()
src/substrate/compress.rs:93
Method_wasm_ctor
(x: i32, y: i32)
src/coords.rs:158
Methodactivate
(&mut self, buffer: Buffer)
src/tools/draw_si.rs:26
Methodactivate
(&mut self, buffer: Buffer)
src/tools/mod.rs:21
Methodactivate
(&mut self, buffer: Buffer)
src/tools/draw_metal.rs:23
Methodactivate
(&mut self, buffer: Buffer)
src/tools/place_socket.rs:25
Methodapply
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
Methodbind
(&self)
src/wgl2/quad_vao.rs:100
Methodbitor
(self, rhs: Self)
src/upc.rs:482
Methodcell_count
(&self)
src/substrate/buffer.rs:234
Methodclear_metal
( &mut self, CellCoord(start): CellCoord, CellCoord(end): CellCoord, initial_i
src/substrate/buffer_brush.rs:117
Methodclear_si
( &mut self, CellCoord(start): CellCoord, CellCoord(end): CellCoord, initial_i
src/substrate/buffer_brush.rs:90
Methodclock
Called each clock cycle.
src/module.rs:47
Methodclock
(&mut self, sim_state: &SimState)
src/module.rs:86
Functioncompare_sizes
()
src/substrate/compress.rs:14
Methodcompile
(ctx: &WebGl2RenderingContext)
src/wgl2/cell_program.rs:25
next →1–100 of 178, ranked by callers