MCPcopy Create free account

hub / github.com/JoshuaPostel/texaform / functions

Functions513 in github.com/JoshuaPostel/texaform

↓ 2 callersMethod_buffer
(self, idx: int)
python/fabricator.py:14
↓ 2 callersMethod_generate_random_point
(self, min_dist: Optional[int] = None, max_dist: int = 100)
python/dog.py:193
↓ 2 callersMethodaddress
(self, entity: str, n: int)
python/gather.py:29
↓ 2 callersMethodagent_port
(&self, pos: &Position)
src/surface/mod.rs:518
↓ 2 callersFunctioncenter
source: https://ratatui.rs/recipes/layout/center-a-rect/
src/ui/mod.rs:43
↓ 2 callersMethodclamp_cursor
(&self, new_cursor_pos: usize)
src/widgets/text_box.rs:130
↓ 2 callersMethodclear_on_enter
(self, clear_on_enter: bool)
src/widgets/text_box.rs:98
↓ 2 callersMethodclicked
record a click on element `id` and return weather it was a double click
src/widgets/mod.rs:65
↓ 2 callersMethodcompleted_research
(self)
python/hud.py:29
↓ 2 callersMethodconsume
pub fn generate(&mut self, joules: usize) { self.update_generation = self.update_generation.saturating_add(joules); }
src/surface/mod.rs:65
↓ 2 callersFunctioncontains_cost
(buffer: &[Entity], cost: &HashMap<Entity, u8>)
src/agents/fabricator.rs:90
↓ 2 callersMethoddelete_char
(&mut self, idx: usize)
src/widgets/text_box.rs:142
↓ 2 callersMethoddrop_within
(self, area: Rect)
python/dog.py:260
↓ 2 callersMethodentity
(&self)
src/agents/smelter.rs:149
↓ 2 callersMethodfetch
(self, name: str, drop_location: Point)
python/dog.py:297
↓ 2 callersMethodframe_position
(&self, grid_position: &Position)
src/surface/mod.rs:251
↓ 2 callersMethodget
(&self, x: usize, y: usize)
src/puzzles/count_groups.rs:118
↓ 2 callersMethodget_tech
(&self, idx: usize)
src/tech_tree.rs:278
↓ 2 callersMethodget_tech_and_status
(&self, idx: usize)
src/tech_tree.rs:249
↓ 2 callersMethodgoto
(self, target: Point)
python/lazer_cutter.py:47
↓ 2 callersMethodgrid_position
(&self, frame_position: &Position)
src/surface/mod.rs:260
↓ 2 callersMethodhandle_hud_command
(&mut self, msg: String)
src/surface/mod.rs:655
↓ 2 callersMethodhandle_message
(&mut self, port: &usize, msg: String)
src/surface/mod.rs:556
↓ 2 callersMethodidx
(&self, x: usize, y: usize)
src/puzzles/count_groups.rs:110
↓ 2 callersMethodinit
Initializes the terminal interface. It enables the raw mode and sets terminal properties.
src/tui.rs:33
↓ 2 callersFunctioninto_block
(titles: Titles)
src/widgets/button.rs:103
↓ 2 callersMethodis_edge
(&self, pos: &Position)
src/entities/shape.rs:123
↓ 2 callersMethodlist
()
src/ui/main_menu.rs:54
↓ 2 callersMethodloading_state
(&self)
src/app.rs:235
↓ 2 callersFunctionmake_requirements
( requirements: Dict[str, int], dog: Dog, smelter: Smelter, lc: LazerCutter, fab: Fabricat
python/make.py:96
↓ 2 callersMethodmove
(self)
python/dog.py:106
↓ 2 callersMethodmove_cursor_left
(&mut self)
src/widgets/text_box.rs:114
↓ 2 callersMethodmove_cursor_right
(&mut self)
src/widgets/text_box.rs:119
↓ 2 callersMethodmove_down
(&mut self, amount: usize)
src/surface/mod.rs:637
↓ 2 callersMethodmove_left
(&mut self, amount: usize)
src/surface/mod.rs:651
↓ 2 callersMethodmove_right
(&mut self, amount: usize)
src/surface/mod.rs:644
↓ 2 callersMethodmove_up
(&mut self, amount: usize)
src/surface/mod.rs:630
↓ 2 callersMethodnext
Receive the next event from the handler thread. This function will always block the current thread if there is no data available and it's possible fo
src/event.rs:97
↓ 2 callersMethodnext
(&mut self)
src/surface/tutorial.rs:29
↓ 2 callersMethodon_attach_to_power_grid
(&self, power: &mut Power)
src/entities/mod.rs:257
↓ 2 callersFunctionon_select
(app: &mut App, screen: PauseMenu)
src/input/pause_menu.rs:10
↓ 2 callersFunctionon_select
async fn on_select(app: &mut App) -> AppResult<()> {
src/input/main_menu.rs:12
↓ 2 callersMethodoutline
(self)
python/utils.py:95
↓ 2 callersMethodpick
(self, char: str, target: Optional[Point] = None)
python/dog.py:56
↓ 2 callersMethodpick
(&mut self, c: char)
src/agents/smelter.rs:167
↓ 2 callersMethodpick_unknown
(self, char: str)
python/dog.py:276
↓ 2 callersMethodplacable
(&self, _entity: &Entity)
src/agents/dog.rs:189
↓ 2 callersMethodprevious
(&mut self)
src/surface/tutorial.rs:36
↓ 2 callersMethodprevious_command
(&self, n_previous: u8)
src/agents/mod.rs:206
↓ 2 callersMethodquit
Set running to false to quit the application.
src/app.rs:351
↓ 2 callersMethodremove_content
(&mut self, to_remove: &HashMap<Entity, u8>)
src/entities/container.rs:157
↓ 2 callersMethodremove_entity
(&mut self, to_remove: &Entity)
src/entities/container.rs:145
↓ 2 callersFunctionrender_fx
( effects: &mut Effects, layout: &AppLayout, prev_tick: Duration, frame: &mut Frame, )
src/ui/main_menu.rs:100
↓ 2 callersFunctionrender_save_file_metadata
(app: &App, frame: &mut Frame)
src/ui/load_game.rs:115
↓ 2 callersFunctionrender_save_file_preview
(app: &App, frame: &mut Frame)
src/ui/load_game.rs:73
↓ 2 callersFunctionretry_recv
(rx: &mut Receiver<R>, try_count: u8)
src/tcp.rs:60
↓ 2 callersFunctionsave_file_boarder
()
src/ui/load_game.rs:64
↓ 2 callersMethodselect_next
(&mut self)
src/widgets/list.rs:273
↓ 2 callersMethodselect_previous
(&mut self)
src/widgets/list.rs:267
↓ 2 callersMethodset
(self, cell: &mut ratatui::buffer::Cell)
src/draw/mod.rs:24
↓ 2 callersFunctionsingles_digit_char
(i: usize)
src/agents/laser_cutter.rs:145
↓ 2 callersMethodsort
(&mut self)
src/widgets/list.rs:199
↓ 2 callersFunctionspawn_handler
( port: usize, event_sender: UnboundedSender<Event>, )
src/agents/mod.rs:300
↓ 2 callersFunctiontens_digit_char
(i: usize)
src/agents/laser_cutter.rs:136
↓ 2 callersMethodtick
Handles the tick event of the terminal.
src/app.rs:335
↓ 2 callersMethodturn_right
(self)
python/dog.py:91
↓ 2 callersMethodupdate_agent
( &mut self, msg: String, pos: Position, port: &usize, mut agent: Box<
src/surface/mod.rs:566
↓ 1 callersMethod_generate_random_point_within_40_of_charge
(self)
python/dog.py:180
↓ 1 callersMethodaccumulator_charge
(self)
python/hud.py:9
↓ 1 callersMethodadd_capacity
(&mut self, joules: usize)
src/surface/mod.rs:69
↓ 1 callersMethodautosave_and_cleanup
(&mut self)
src/app.rs:322
↓ 1 callersMethodbackspace
(&mut self)
src/surface/state.rs:191
↓ 1 callersFunctionbottom
(rect: Rect)
src/tech_tree.rs:528
↓ 1 callersMethodbuffer_in
(self)
python/fabricator.py:21
↓ 1 callersMethodbuild_at
(self, location: Point)
python/dog.py:304
↓ 1 callersMethodbyte_index
(&mut self)
src/widgets/text_box.rs:134
↓ 1 callersFunctionchecked_xy_to_idx
TODO all should move to checked
src/utils.rs:52
↓ 1 callersMethodclean_up_autosaves
(&mut self)
src/app.rs:288
↓ 1 callersFunctionclear_area
(dog: Dog, area: Rect, depot: Optional[Depot])
python/gather.py:108
↓ 1 callersFunctionclear_column
(dog: Dog, top: Point, height: int, depot: Optional[Depot])
python/gather.py:83
↓ 1 callersMethodclear_group
(&mut self, x: usize, y: usize)
src/puzzles/count_groups.rs:123
↓ 1 callersMethodclosest_uncut
(self)
python/lazer_cutter.py:65
↓ 1 callersMethodcompatible
(&self)
src/surface/state.rs:85
↓ 1 callersMethodcontent
(&self)
src/widgets/text_box.rs:110
↓ 1 callersMethodcreate_agent
(&self)
src/entities/mod.rs:192
↓ 1 callersMethodcurrent_tech
(&self)
src/surface/state.rs:286
↓ 1 callersMethodcut_shape
(self, props: ShapeProperties)
python/lazer_cutter.py:77
↓ 1 callersMethodcuttable
(&self)
src/entities/mod.rs:266
↓ 1 callersMethoddelete_agent
(&mut self, port: &usize)
src/surface/mod.rs:468
↓ 1 callersMethoddisplay_text
(&self)
src/agents/laser_cutter.rs:155
↓ 1 callersFunctiondistance
(pos1: &Position, pos2: &Position)
src/utils.rs:93
↓ 1 callersMethoddraw
[`Draw`] the terminal interface by [`rendering`] the widgets. [`Draw`]: ratatui::Terminal::draw [`rendering`]: crate::ui::render
src/tui.rs:54
↓ 1 callersFunctiondraw_bordered_rectangle
( area: &Rect, border: &BorderedRectangle, settable: &mut T, )
src/draw/rectangle.rs:30
↓ 1 callersFunctiondraw_rectangle
(area: &Rect, cell: PubCell, settable: &mut T)
src/draw/rectangle.rs:22
↓ 1 callersMethodedge
TODO PERF: cache this need BTreeSet for rand determinisim
src/entities/shape.rs:136
↓ 1 callersMethodenergy_cost
(&self)
src/agents/dog.rs:508
↓ 1 callersMethodenter_char
(&mut self, new_char: char)
src/widgets/text_box.rs:124
↓ 1 callersMethodeverything_unlocked
(&self)
src/tech_tree.rs:234
↓ 1 callersMethodexit
Exits the terminal interface. It disables the raw mode and reverts back the terminal properties.
src/tui.rs:72
↓ 1 callersMethodexpand_area
(self, dog: Dog)
python/gather.py:59
← previousnext →101–200 of 513, ranked by callers