MCPcopy Create free account

hub / github.com/JoshuaPostel/texaform / functions

Functions513 in github.com/JoshuaPostel/texaform

↓ 1 callersMethodfetch_save_files
(&mut self)
src/app.rs:245
↓ 1 callersMethodfind_char_random_walk
(self, char: str)
python/dog.py:207
↓ 1 callersMethodfocused_agent_comms
(&self)
src/surface/mod.rs:158
↓ 1 callersMethodfocused_agent_comms_mut
(&mut self)
src/surface/mod.rs:163
↓ 1 callersMethodfrom_name
(name: str)
python/utils.py:116
↓ 1 callersMethodget_char
(&self)
src/agents/dog.rs:433
↓ 1 callersFunctionget_edge_layout
(start: &NodeLayout, end: &NodeLayout)
src/tech_tree.rs:476
↓ 1 callersMethodget_existing_agents
(self)
python/hud.py:34
↓ 1 callersMethodget_mut_agent
(&mut self, port: &usize)
src/surface/mod.rs:508
↓ 1 callersMethodget_research_status
(self)
python/hud.py:15
↓ 1 callersMethodget_tech_status
(&self, idx: usize)
src/tech_tree.rs:259
↓ 1 callersMethodget_uncut_neighbors
assumes self.plate[pos] == State::Cut
src/agents/laser_cutter.rs:488
↓ 1 callersMethodgrid_footprint
TODO better name than footprint
src/entities/shape.rs:147
↓ 1 callersFunctiongrid_idx_east
(idx: usize, grid_width: usize)
src/utils.rs:79
↓ 1 callersFunctiongrid_idx_north
(idx: usize, grid_width: usize)
src/utils.rs:65
↓ 1 callersFunctiongrid_idx_south
(idx: usize, grid_width: usize)
src/utils.rs:74
↓ 1 callersFunctiongrid_idx_west
(idx: usize, grid_width: usize)
src/utils.rs:88
↓ 1 callersMethodhandle_command
(&mut self, command: Command)
src/agents/smelter.rs:185
↓ 1 callersMethodhandle_command
(&mut self, pos: &Position, grid: &mut Grid, command: Command)
src/agents/dog.rs:195
↓ 1 callersMethodhandle_command
(&mut self, command: Command)
src/agents/laser_cutter.rs:222
↓ 1 callersMethodhandle_command
( &mut self, command: Command, _pos: &Position, _grid: &mut Grid, game
src/agents/fabricator.rs:96
↓ 1 callersFunctionhandle_key_events
Handles the key events and updates the state of [`App`].
src/input/mod.rs:42
↓ 1 callersMethodhandle_mouse_event
( &mut self, _event: MouseEvent, _relative_position: Position, )
src/widgets/mod.rs:21
↓ 1 callersFunctionhandle_mouse_events
Handles the mouse events and updates the state of [`App`].
src/input/mod.rs:61
↓ 1 callersFunctionhandle_socket
( port: usize, mut socket: TcpStream, event_sender: UnboundedSender<Event>, rx: &mut Receiver<
src/tcp.rs:83
↓ 1 callersMethodheight
(self)
python/utils.py:67
↓ 1 callersFunctionhuman_readable_tick_count
(tick_count: u64)
src/utils.rs:4
↓ 1 callersMethodinit
(&mut self, event_sender: &UnboundedSender<Event>)
src/agents/mod.rs:252
↓ 1 callersFunctioninit_panic_hook
coppied from https://ratatui.rs/recipes/apps/panic-hooks/
src/main.rs:128
↓ 1 callersFunctioninit_starting_entities
(surface: &mut Surface)
src/surface/generation.rs:210
↓ 1 callersFunctioninitialize_logging
()
src/logging.rs:34
↓ 1 callersMethodinsert
(&mut self, item: T)
src/widgets/list.rs:204
↓ 1 callersMethodinstructions
(&self)
src/surface/tutorial.rs:44
↓ 1 callersMethodintegrity
(&self)
src/agents/mod.rs:83
↓ 1 callersMethodinto_surface
(mut self, event_sender: UnboundedSender<Event>)
src/surface/state.rs:134
↓ 1 callersMethodjitter_edge
(&mut self, rng: &mut ChaCha8Rng)
src/entities/shape.rs:172
↓ 1 callersMethodlaser_idx
(&self)
src/agents/laser_cutter.rs:211
↓ 1 callersMethodlaser_position
(&self)
src/agents/laser_cutter.rs:151
↓ 1 callersMethodleft
(self)
python/utils.py:12
↓ 1 callersFunctionload_selected_save_file
(app: &mut App)
src/input/load_game.rs:13
↓ 1 callersMethodlowest_resource
(self)
python/gather.py:53
↓ 1 callersFunctionmake_shape
(name: str, dog: Dog, smelter: Smelter, lc: LazerCutter, fab: Fabricator)
python/make.py:65
↓ 1 callersFunctionmake_smeltable
(smeltable: str, dog: Dog, smelter: Smelter, fab: Fabricator)
python/make.py:58
↓ 1 callersFunctionmanual
(event_sender: UnboundedSender<Event>, seed: Seed)
src/surface/generation.rs:66
↓ 1 callersMethodnext_available_port
(&self)
src/surface/mod.rs:247
↓ 1 callersMethodoccupied_locations
(self)
python/dog.py:139
↓ 1 callersMethodon_load
(self, app: &mut App)
src/input/mod.rs:20
↓ 1 callersMethodon_mouse_elsewhere
TODO could use in conjunction with `struct UI { hot, active }` approach in which case call fn on_mouse_exit(&mut self)
src/widgets/mod.rs:31
↓ 1 callersMethodplacable
(&self)
src/entities/container.rs:124
↓ 1 callersMethodplace
(&mut self, entity: Entity)
src/agents/smelter.rs:179
↓ 1 callersMethodplace
(&mut self, entity: Entity)
src/agents/laser_cutter.rs:131
↓ 1 callersMethodplace
(&mut self, entity: Entity)
src/agents/fabricator.rs:85
↓ 1 callersMethodpoint
(&self, idx: usize)
src/puzzles/count_groups.rs:114
↓ 1 callersMethodpower_on
(self)
python/lazer_cutter.py:37
↓ 1 callersMethodpower_on
(self)
python/smelter.py:31
↓ 1 callersMethodprogress_current_tech
(&mut self)
src/surface/state.rs:277
↓ 1 callersFunctionproject_directory
()
src/logging.rs:20
↓ 1 callersMethodprompt
(&self)
src/puzzles/count_groups.rs:89
↓ 1 callersMethodrandom_point_inside
(self)
python/utils.py:78
↓ 1 callersMethodrebuild_lines
TODO need to have T impl Into<AlignedLine> otherwise rebuild lines may create different lines than supplied by pub fn default_style_with_lines
src/widgets/list.rs:185
↓ 1 callersFunctionrender
(app: &mut App, frame: &mut Frame)
src/ui/mod.rs:140
↓ 1 callersMethodrender_agent_fx
( &mut self, frame: &mut Frame, area: Rect, prev_tick: core::time::Duration,
src/surface/mod.rs:267
↓ 1 callersFunctionrender_agent_log
(app: &App, frame: &mut Frame)
src/ui/surface.rs:162
↓ 1 callersFunctionrender_agents_list
(app: &App, frame: &mut Frame)
src/ui/surface.rs:284
↓ 1 callersFunctionrender_current_research
(app: &App, frame: &mut Frame, area: Rect)
src/ui/tech_tree.rs:113
↓ 1 callersFunctionrender_edge
(edge: &EdgeLayout, color: Color, buf: &mut Buffer)
src/ui/tech_tree.rs:177
↓ 1 callersFunctionrender_edges
(tech_tree: &TechTree, app: &App, frame: &mut Frame)
src/ui/tech_tree.rs:152
↓ 1 callersMethodrender_fx
( &mut self, grid_pos: &Position, frame: &mut Frame, area: Rect, prev_
src/agents/dog.rs:131
↓ 1 callersMethodrender_grid
(&self, frame: &mut Frame, area: Rect)
src/surface/mod.rs:300
↓ 1 callersFunctionrender_info
(app: &App, frame: &mut Frame)
src/ui/surface.rs:236
↓ 1 callersFunctionrender_nodes
(tech_tree: &TechTree, app: &App, frame: &mut Frame)
src/ui/tech_tree.rs:126
↓ 1 callersFunctionrender_power
TODO performance since this is a hot loop: move {generation,consumption}_history to Power
src/ui/surface.rs:396
↓ 1 callersMethodrender_preview
(&self, frame: &mut Frame, area: Rect)
src/surface/grid.rs:176
↓ 1 callersFunctionrender_research_description
(app: &App, frame: &mut Frame, _area: Rect)
src/ui/tech_tree.rs:83
↓ 1 callersFunctionrender_set_seed
(app: &App, frame: &mut Frame)
src/ui/main_menu.rs:68
↓ 1 callersFunctionrender_stateful_widget_clamped
( frame: &mut Frame, widget: W, area: Rect, state: &mut W::State, )
src/ui/mod.rs:24
↓ 1 callersFunctionrender_surface_grid
(app: &App, frame: &mut Frame)
src/ui/surface.rs:314
↓ 1 callersFunctionrender_surface_grid_fx
(app: &mut App, frame: &mut Frame)
src/ui/surface.rs:320
↓ 1 callersFunctionrender_surface_overlay
(app: &App, frame: &mut Frame)
src/ui/surface.rs:325
↓ 1 callersFunctionrender_tech_tree
(app: &App, frame: &mut Frame, area: Rect)
src/ui/tech_tree.rs:70
↓ 1 callersFunctionrender_tutorial
(app: &App, frame: &mut Frame)
src/ui/surface.rs:455
↓ 1 callersMethodresearching
(&self)
src/tech_tree.rs:286
↓ 1 callersMethodresearching_mut
(&mut self)
src/tech_tree.rs:291
↓ 1 callersMethodresource_count
(self, name: str)
python/fabricator.py:27
↓ 1 callersFunctionrestore_tui
()
src/main.rs:143
↓ 1 callersMethodright
(self)
python/utils.py:23
↓ 1 callersMethodrow_areas
(&self, row_idx: usize, rect: Rect)
src/tech_tree.rs:352
↓ 1 callersMethodselected_tech
(&self)
src/tech_tree.rs:282
↓ 1 callersMethodsend
(self, msg: str)
python/agent.py:19
↓ 1 callersMethodsender
fn sender(&mut self, surface: &Surface) -> &Sender<String> {
src/agents/mod.rs:265
↓ 1 callersMethodset_titles
(&mut self, titles: [Option<String>; 3])
src/widgets/button.rs:72
↓ 1 callersMethodsmelt
(self, hud: HUD, output: str)
python/smelter.py:45
↓ 1 callersFunctionsmelted_from
(smeltable: str)
python/make.py:47
↓ 1 callersMethodsmelts_into
(&self)
src/entities/mod.rs:270
↓ 1 callersMethodsolution
(&mut self)
src/puzzles/count_groups.rs:93
↓ 1 callersMethodtech_kind_idx
PERF: this could be hardcoded because our graph does not change
src/tech_tree.rs:312
↓ 1 callersFunctiontop
(rect: Rect)
src/tech_tree.rs:521
↓ 1 callersMethodturn_left
(self)
python/dog.py:95
↓ 1 callersMethodupdate
(&mut self, solar_irradiance: usize)
src/surface/mod.rs:72
↓ 1 callersMethodupdate
(width: u16, height: u16, app: &App)
src/ui/mod.rs:95
← previousnext →201–300 of 513, ranked by callers