MCPcopy Create free account

hub / github.com/JoshuaPostel/texaform / functions

Functions513 in github.com/JoshuaPostel/texaform

Methodnew
(kind: TechKind, cost: HashMap<Entity, u8>, unlocks: Option<Entity>)
src/tech_tree.rs:193
Methodnew
Constructs a new instance of [`App`].
src/app.rs:157
Methodnew
()
src/effects.rs:14
Methodnew
Constructs a new instance of [`EventHandler`].
src/event.rs:42
Methodnew
Constructs a new instance of [`Tui`].
src/tui.rs:26
Methodnew
(rng: &mut impl RngCore)
src/puzzles/count_groups.rs:64
Methodnew
( grid: Grid, x: usize, y: usize, seed: Seed, event_sender: UnboundedS
src/surface/mod.rs:709
Methodnew
(seed: Seed, research_count: usize)
src/surface/state.rs:248
Methodnew
(raw: Vec<Gent>)
src/surface/grid.rs:118
Methodnew
(title: &str, capacity: usize)
src/entities/container.rs:100
Methodnew
(content: T)
src/widgets/button.rs:49
Methodnew
()
src/widgets/text_box.rs:94
Methodnew
(items: Vec<T>, style: Style, selected_style: Style, hovered_style: Style)
src/widgets/list.rs:223
Methodnew
(content: W)
src/widgets/depreciated_button.rs:21
Methodnew
(width: u16, height: u16, app: &App)
src/ui/tech_tree.rs:31
Methodnew
(width: u16, height: u16, app: &App)
src/ui/save_game.rs:47
Methodnew
(width: u16, height: u16)
src/ui/load_game.rs:19
Methodnew
(width: u16, height: u16)
src/ui/surface.rs:34
Methodnew
(width: u16, height: u16)
src/ui/pause_menu.rs:19
Methodnew
(width: u16, height: u16)
src/ui/main_menu.rs:25
Methodnew
(width: u16, height: u16, app: &App)
src/ui/documentation.rs:26
Methodnew
()
src/agents/smelter.rs:88
Methodnew
()
src/agents/dog.rs:95
Methodnew
(reply: impl std::fmt::Display, position: Position)
src/agents/mod.rs:123
Methodnew
()
src/agents/laser_cutter.rs:87
Methodnew
()
src/agents/fabricator.rs:51
Methodnoop
()
src/entities/mod.rs:286
Methodnoop
()
src/agents/mod.rs:147
Methodokay
()
src/agents/mod.rs:107
Methodon_init
(&self, _power: &mut Power)
src/agents/mod.rs:48
Methodon_mouse_elsewhere
(&mut self)
src/widgets/button.rs:43
Methodon_mouse_elsewhere
(&mut self)
src/widgets/list.rs:176
Methodparse_command
(msg: &str)
src/agents/smelter.rs:199
Methodparse_command
TODO can we generate this with a macro? or maybe custom serde?
src/agents/dog.rs:466
Methodparse_command
(msg: &str)
src/agents/laser_cutter.rs:327
Methodparse_command
(msg: &str)
src/agents/hud.rs:24
Methodparse_command
(msg: &str)
src/agents/fabricator.rs:146
Functionperlin
(event_sender: UnboundedSender<Event>)
src/surface/generation.rs:135
Methodpick
(&mut self, c: char)
src/surface/grid.rs:70
Methodpick
(&mut self, c: char)
src/entities/container.rs:109
Methodpick
implement if the entity is pickable
src/agents/mod.rs:68
Methodpick
(&mut self, c: char)
src/agents/laser_cutter.rs:119
Methodpick
(&mut self, c: char)
src/agents/fabricator.rs:73
Methodplacable
(&self, entity: &Entity)
src/surface/grid.rs:89
Methodplacable
(&self, _entity: &Entity)
src/agents/smelter.rs:176
Methodplacable
implement if dog can place entites into this entity
src/agents/mod.rs:73
Methodplacable
(&self, _entity: &Entity)
src/agents/laser_cutter.rs:128
Methodplacable
(&self, _entity: &Entity)
src/agents/fabricator.rs:82
Methodplace
(&mut self, entity: Entity)
src/entities/container.rs:128
Methodplace
(&mut self, _entity: Entity)
src/agents/mod.rs:76
Methodpop
(&mut self)
src/entities/container.rs:135
Methodprogress
(&mut self)
src/tech_tree.rs:204
Functionrelative_position_bordered
(rect: Rect, pos: Position)
src/utils.rs:23
Functionrender
(app: &App, frame: &mut Frame)
src/ui/tech_tree.rs:58
Functionrender
(app: &App, frame: &mut Frame)
src/ui/save_game.rs:77
Functionrender
(app: &App, frame: &mut Frame)
src/ui/load_game.rs:45
Functionrender
TODO remove the mut here
src/ui/surface.rs:487
Functionrender
(app: &App, frame: &mut Frame)
src/ui/pause_menu.rs:60
Functionrender
(app: &App, frame: &mut Frame)
src/ui/main_menu.rs:83
Functionrender
(app: &App, frame: &mut Frame)
src/ui/documentation.rs:47
Functionrender
(app: &App, frame: &mut Frame)
src/ui/settings.rs:12
Methodrender_effects
TODO
src/surface/mod.rs:354
Functionrender_fx
( effects: &mut Effects, layout: &AppLayout, prev_tick: Duration, frame: &mut Frame, )
src/ui/documentation.rs:68
Methodrender_fx
this is good for rendering effects that follow a moving entity. do we need a method for rendering effects in a static location?
src/agents/mod.rs:59
Methodrender_ref
(&self, area: Rect, buf: &mut Buffer)
src/surface/grid.rs:36
Methodrender_ref
TODO move logic to struct state so that it is not calculated every frame
src/entities/container.rs:27
Methodrender_ref
(&self, area: Rect, buf: &mut Buffer)
src/widgets/button.rs:125
Methodrender_ref
(&self, area: Rect, buf: &mut Buffer)
src/widgets/text_box.rs:79
Methodrender_ref
(&self, area: Rect, buf: &mut Buffer)
src/widgets/list.rs:22
Methodrender_ref
(&self, area: Rect, buf: &mut Buffer)
src/widgets/depreciated_button.rs:51
Methodrender_ref
(&self, area: Rect, buf: &mut Buffer)
src/agents/smelter.rs:18
Methodrender_ref
(&self, area: Rect, buf: &mut Buffer)
src/agents/dog.rs:23
Methodrender_ref
TODO PERF: store relevant state in LaserCutter so that it is not calculated every render
src/agents/laser_cutter.rs:24
Methodrender_ref
(&self, _area: Rect, _buf: &mut Buffer)
src/agents/hud.rs:14
Methodrender_ref
(&self, area: Rect, buf: &mut Buffer)
src/agents/fabricator.rs:15
Methodrender_surface_cell
(&self, offset: &Position, cell: &mut Cell)
src/agents/smelter.rs:152
Methodrender_surface_cell
(&self, _offset: &Position, cell: &mut Cell)
src/agents/dog.rs:174
Methodrender_surface_cell
(&self, offset: &Position, cell: &mut Cell)
src/agents/mod.rs:49
Methodreply
(reply: impl std::fmt::Display)
src/agents/mod.rs:103
Methodsave
(surface: &Surface, name: String)
src/surface/state.rs:91
Methodsave_to_path
(surface: &Surface, path: &PathBuf)
src/surface/state.rs:105
Methodselect_item
returns whether or not item was in list
src/widgets/list.rs:212
Methodset_content
(&mut self, input: String)
src/widgets/text_box.rs:105
Methodsketch_of_macro
(self, position: Position)
src/ui/save_game.rs:36
Methodtake
(self, dog: Dog, entity: str)
python/gather.py:45
Methodtemp
(self)
python/smelter.py:41
Functiontest_case1
()
src/puzzles/count_groups.rs:151
Functiontest_case1
()
src/agents/laser_cutter.rs:538
Functiontest_case2
()
src/agents/laser_cutter.rs:568
Functiontest_case3
()
src/agents/laser_cutter.rs:609
Functiontest_format_shape
()
src/entities/shape.rs:295
Functiontest_normalize
()
src/entities/shape.rs:332
Functiontest_shape
()
src/entities/shape.rs:312
Functiontest_shapes
()
src/entities/shape.rs:353
Functionthere_and_back_again
()
src/utils.rs:105
Methodtick
(&mut self)
src/surface/mod.rs:168
Methodtick
(&mut self, power: &mut Power)
src/agents/smelter.rs:116
Methodtick
(&mut self, power: &mut Power)
src/agents/dog.rs:118
Methodtick
(&mut self, _power: &mut Power)
src/agents/mod.rs:47
Methodtick
(&mut self, _power: &mut Power)
src/agents/laser_cutter.rs:114
← previousnext →401–500 of 513, ranked by callers