Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JoshuaPostel/texaform
/ functions
Functions
513 in github.com/JoshuaPostel/texaform
⨍
Functions
513
◇
Types & classes
109
↓ 1 callers
Method
fetch_save_files
(&mut self)
src/app.rs:245
↓ 1 callers
Method
find_char_random_walk
(self, char: str)
python/dog.py:207
↓ 1 callers
Method
focused_agent_comms
(&self)
src/surface/mod.rs:158
↓ 1 callers
Method
focused_agent_comms_mut
(&mut self)
src/surface/mod.rs:163
↓ 1 callers
Method
from_name
(name: str)
python/utils.py:116
↓ 1 callers
Method
get_char
(&self)
src/agents/dog.rs:433
↓ 1 callers
Function
get_edge_layout
(start: &NodeLayout, end: &NodeLayout)
src/tech_tree.rs:476
↓ 1 callers
Method
get_existing_agents
(self)
python/hud.py:34
↓ 1 callers
Method
get_mut_agent
(&mut self, port: &usize)
src/surface/mod.rs:508
↓ 1 callers
Method
get_research_status
(self)
python/hud.py:15
↓ 1 callers
Method
get_tech_status
(&self, idx: usize)
src/tech_tree.rs:259
↓ 1 callers
Method
get_uncut_neighbors
assumes self.plate[pos] == State::Cut
src/agents/laser_cutter.rs:488
↓ 1 callers
Method
grid_footprint
TODO better name than footprint
src/entities/shape.rs:147
↓ 1 callers
Function
grid_idx_east
(idx: usize, grid_width: usize)
src/utils.rs:79
↓ 1 callers
Function
grid_idx_north
(idx: usize, grid_width: usize)
src/utils.rs:65
↓ 1 callers
Function
grid_idx_south
(idx: usize, grid_width: usize)
src/utils.rs:74
↓ 1 callers
Function
grid_idx_west
(idx: usize, grid_width: usize)
src/utils.rs:88
↓ 1 callers
Method
handle_command
(&mut self, command: Command)
src/agents/smelter.rs:185
↓ 1 callers
Method
handle_command
(&mut self, pos: &Position, grid: &mut Grid, command: Command)
src/agents/dog.rs:195
↓ 1 callers
Method
handle_command
(&mut self, command: Command)
src/agents/laser_cutter.rs:222
↓ 1 callers
Method
handle_command
( &mut self, command: Command, _pos: &Position, _grid: &mut Grid, game
src/agents/fabricator.rs:96
↓ 1 callers
Function
handle_key_events
Handles the key events and updates the state of [`App`].
src/input/mod.rs:42
↓ 1 callers
Method
handle_mouse_event
( &mut self, _event: MouseEvent, _relative_position: Position, )
src/widgets/mod.rs:21
↓ 1 callers
Function
handle_mouse_events
Handles the mouse events and updates the state of [`App`].
src/input/mod.rs:61
↓ 1 callers
Function
handle_socket
( port: usize, mut socket: TcpStream, event_sender: UnboundedSender<Event>, rx: &mut Receiver<
src/tcp.rs:83
↓ 1 callers
Method
height
(self)
python/utils.py:67
↓ 1 callers
Function
human_readable_tick_count
(tick_count: u64)
src/utils.rs:4
↓ 1 callers
Method
init
(&mut self, event_sender: &UnboundedSender<Event>)
src/agents/mod.rs:252
↓ 1 callers
Function
init_panic_hook
coppied from https://ratatui.rs/recipes/apps/panic-hooks/
src/main.rs:128
↓ 1 callers
Function
init_starting_entities
(surface: &mut Surface)
src/surface/generation.rs:210
↓ 1 callers
Function
initialize_logging
()
src/logging.rs:34
↓ 1 callers
Method
insert
(&mut self, item: T)
src/widgets/list.rs:204
↓ 1 callers
Method
instructions
(&self)
src/surface/tutorial.rs:44
↓ 1 callers
Method
integrity
(&self)
src/agents/mod.rs:83
↓ 1 callers
Method
into_surface
(mut self, event_sender: UnboundedSender<Event>)
src/surface/state.rs:134
↓ 1 callers
Method
jitter_edge
(&mut self, rng: &mut ChaCha8Rng)
src/entities/shape.rs:172
↓ 1 callers
Method
laser_idx
(&self)
src/agents/laser_cutter.rs:211
↓ 1 callers
Method
laser_position
(&self)
src/agents/laser_cutter.rs:151
↓ 1 callers
Method
left
(self)
python/utils.py:12
↓ 1 callers
Function
load_selected_save_file
(app: &mut App)
src/input/load_game.rs:13
↓ 1 callers
Method
lowest_resource
(self)
python/gather.py:53
↓ 1 callers
Function
make_shape
(name: str, dog: Dog, smelter: Smelter, lc: LazerCutter, fab: Fabricator)
python/make.py:65
↓ 1 callers
Function
make_smeltable
(smeltable: str, dog: Dog, smelter: Smelter, fab: Fabricator)
python/make.py:58
↓ 1 callers
Function
manual
(event_sender: UnboundedSender<Event>, seed: Seed)
src/surface/generation.rs:66
↓ 1 callers
Method
next_available_port
(&self)
src/surface/mod.rs:247
↓ 1 callers
Method
occupied_locations
(self)
python/dog.py:139
↓ 1 callers
Method
on_load
(self, app: &mut App)
src/input/mod.rs:20
↓ 1 callers
Method
on_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 callers
Method
placable
(&self)
src/entities/container.rs:124
↓ 1 callers
Method
place
(&mut self, entity: Entity)
src/agents/smelter.rs:179
↓ 1 callers
Method
place
(&mut self, entity: Entity)
src/agents/laser_cutter.rs:131
↓ 1 callers
Method
place
(&mut self, entity: Entity)
src/agents/fabricator.rs:85
↓ 1 callers
Method
point
(&self, idx: usize)
src/puzzles/count_groups.rs:114
↓ 1 callers
Method
power_on
(self)
python/lazer_cutter.py:37
↓ 1 callers
Method
power_on
(self)
python/smelter.py:31
↓ 1 callers
Method
progress_current_tech
(&mut self)
src/surface/state.rs:277
↓ 1 callers
Function
project_directory
()
src/logging.rs:20
↓ 1 callers
Method
prompt
(&self)
src/puzzles/count_groups.rs:89
↓ 1 callers
Method
random_point_inside
(self)
python/utils.py:78
↓ 1 callers
Method
rebuild_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 callers
Function
render
(app: &mut App, frame: &mut Frame)
src/ui/mod.rs:140
↓ 1 callers
Method
render_agent_fx
( &mut self, frame: &mut Frame, area: Rect, prev_tick: core::time::Duration,
src/surface/mod.rs:267
↓ 1 callers
Function
render_agent_log
(app: &App, frame: &mut Frame)
src/ui/surface.rs:162
↓ 1 callers
Function
render_agents_list
(app: &App, frame: &mut Frame)
src/ui/surface.rs:284
↓ 1 callers
Function
render_current_research
(app: &App, frame: &mut Frame, area: Rect)
src/ui/tech_tree.rs:113
↓ 1 callers
Function
render_edge
(edge: &EdgeLayout, color: Color, buf: &mut Buffer)
src/ui/tech_tree.rs:177
↓ 1 callers
Function
render_edges
(tech_tree: &TechTree, app: &App, frame: &mut Frame)
src/ui/tech_tree.rs:152
↓ 1 callers
Method
render_fx
( &mut self, grid_pos: &Position, frame: &mut Frame, area: Rect, prev_
src/agents/dog.rs:131
↓ 1 callers
Method
render_grid
(&self, frame: &mut Frame, area: Rect)
src/surface/mod.rs:300
↓ 1 callers
Function
render_info
(app: &App, frame: &mut Frame)
src/ui/surface.rs:236
↓ 1 callers
Function
render_nodes
(tech_tree: &TechTree, app: &App, frame: &mut Frame)
src/ui/tech_tree.rs:126
↓ 1 callers
Function
render_power
TODO performance since this is a hot loop: move {generation,consumption}_history to Power
src/ui/surface.rs:396
↓ 1 callers
Method
render_preview
(&self, frame: &mut Frame, area: Rect)
src/surface/grid.rs:176
↓ 1 callers
Function
render_research_description
(app: &App, frame: &mut Frame, _area: Rect)
src/ui/tech_tree.rs:83
↓ 1 callers
Function
render_set_seed
(app: &App, frame: &mut Frame)
src/ui/main_menu.rs:68
↓ 1 callers
Function
render_stateful_widget_clamped
( frame: &mut Frame, widget: W, area: Rect, state: &mut W::State, )
src/ui/mod.rs:24
↓ 1 callers
Function
render_surface_grid
(app: &App, frame: &mut Frame)
src/ui/surface.rs:314
↓ 1 callers
Function
render_surface_grid_fx
(app: &mut App, frame: &mut Frame)
src/ui/surface.rs:320
↓ 1 callers
Function
render_surface_overlay
(app: &App, frame: &mut Frame)
src/ui/surface.rs:325
↓ 1 callers
Function
render_tech_tree
(app: &App, frame: &mut Frame, area: Rect)
src/ui/tech_tree.rs:70
↓ 1 callers
Function
render_tutorial
(app: &App, frame: &mut Frame)
src/ui/surface.rs:455
↓ 1 callers
Method
researching
(&self)
src/tech_tree.rs:286
↓ 1 callers
Method
researching_mut
(&mut self)
src/tech_tree.rs:291
↓ 1 callers
Method
resource_count
(self, name: str)
python/fabricator.py:27
↓ 1 callers
Function
restore_tui
()
src/main.rs:143
↓ 1 callers
Method
right
(self)
python/utils.py:23
↓ 1 callers
Method
row_areas
(&self, row_idx: usize, rect: Rect)
src/tech_tree.rs:352
↓ 1 callers
Method
selected_tech
(&self)
src/tech_tree.rs:282
↓ 1 callers
Method
send
(self, msg: str)
python/agent.py:19
↓ 1 callers
Method
sender
fn sender(&mut self, surface: &Surface) -> &Sender<String> {
src/agents/mod.rs:265
↓ 1 callers
Method
set_titles
(&mut self, titles: [Option<String>; 3])
src/widgets/button.rs:72
↓ 1 callers
Method
smelt
(self, hud: HUD, output: str)
python/smelter.py:45
↓ 1 callers
Function
smelted_from
(smeltable: str)
python/make.py:47
↓ 1 callers
Method
smelts_into
(&self)
src/entities/mod.rs:270
↓ 1 callers
Method
solution
(&mut self)
src/puzzles/count_groups.rs:93
↓ 1 callers
Method
tech_kind_idx
PERF: this could be hardcoded because our graph does not change
src/tech_tree.rs:312
↓ 1 callers
Function
top
(rect: Rect)
src/tech_tree.rs:521
↓ 1 callers
Method
turn_left
(self)
python/dog.py:95
↓ 1 callers
Method
update
(&mut self, solar_irradiance: usize)
src/surface/mod.rs:72
↓ 1 callers
Method
update
(width: u16, height: u16, app: &App)
src/ui/mod.rs:95
← previous
next →
201–300 of 513, ranked by callers