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
Method
new
(kind: TechKind, cost: HashMap<Entity, u8>, unlocks: Option<Entity>)
src/tech_tree.rs:193
Method
new
Constructs a new instance of [`App`].
src/app.rs:157
Method
new
()
src/effects.rs:14
Method
new
Constructs a new instance of [`EventHandler`].
src/event.rs:42
Method
new
Constructs a new instance of [`Tui`].
src/tui.rs:26
Method
new
(rng: &mut impl RngCore)
src/puzzles/count_groups.rs:64
Method
new
( grid: Grid, x: usize, y: usize, seed: Seed, event_sender: UnboundedS
src/surface/mod.rs:709
Method
new
(seed: Seed, research_count: usize)
src/surface/state.rs:248
Method
new
(raw: Vec<Gent>)
src/surface/grid.rs:118
Method
new
(title: &str, capacity: usize)
src/entities/container.rs:100
Method
new
(content: T)
src/widgets/button.rs:49
Method
new
()
src/widgets/text_box.rs:94
Method
new
(items: Vec<T>, style: Style, selected_style: Style, hovered_style: Style)
src/widgets/list.rs:223
Method
new
(content: W)
src/widgets/depreciated_button.rs:21
Method
new
(width: u16, height: u16, app: &App)
src/ui/tech_tree.rs:31
Method
new
(width: u16, height: u16, app: &App)
src/ui/save_game.rs:47
Method
new
(width: u16, height: u16)
src/ui/load_game.rs:19
Method
new
(width: u16, height: u16)
src/ui/surface.rs:34
Method
new
(width: u16, height: u16)
src/ui/pause_menu.rs:19
Method
new
(width: u16, height: u16)
src/ui/main_menu.rs:25
Method
new
(width: u16, height: u16, app: &App)
src/ui/documentation.rs:26
Method
new
()
src/agents/smelter.rs:88
Method
new
()
src/agents/dog.rs:95
Method
new
(reply: impl std::fmt::Display, position: Position)
src/agents/mod.rs:123
Method
new
()
src/agents/laser_cutter.rs:87
Method
new
()
src/agents/fabricator.rs:51
Method
noop
()
src/entities/mod.rs:286
Method
noop
()
src/agents/mod.rs:147
Method
okay
()
src/agents/mod.rs:107
Method
on_init
(&self, _power: &mut Power)
src/agents/mod.rs:48
Method
on_mouse_elsewhere
(&mut self)
src/widgets/button.rs:43
Method
on_mouse_elsewhere
(&mut self)
src/widgets/list.rs:176
Method
parse_command
(msg: &str)
src/agents/smelter.rs:199
Method
parse_command
TODO can we generate this with a macro? or maybe custom serde?
src/agents/dog.rs:466
Method
parse_command
(msg: &str)
src/agents/laser_cutter.rs:327
Method
parse_command
(msg: &str)
src/agents/hud.rs:24
Method
parse_command
(msg: &str)
src/agents/fabricator.rs:146
Function
perlin
(event_sender: UnboundedSender<Event>)
src/surface/generation.rs:135
Method
pick
(&mut self, c: char)
src/surface/grid.rs:70
Method
pick
(&mut self, c: char)
src/entities/container.rs:109
Method
pick
implement if the entity is pickable
src/agents/mod.rs:68
Method
pick
(&mut self, c: char)
src/agents/laser_cutter.rs:119
Method
pick
(&mut self, c: char)
src/agents/fabricator.rs:73
Method
placable
(&self, entity: &Entity)
src/surface/grid.rs:89
Method
placable
(&self, _entity: &Entity)
src/agents/smelter.rs:176
Method
placable
implement if dog can place entites into this entity
src/agents/mod.rs:73
Method
placable
(&self, _entity: &Entity)
src/agents/laser_cutter.rs:128
Method
placable
(&self, _entity: &Entity)
src/agents/fabricator.rs:82
Method
place
(&mut self, entity: Entity)
src/entities/container.rs:128
Method
place
(&mut self, _entity: Entity)
src/agents/mod.rs:76
Method
pop
(&mut self)
src/entities/container.rs:135
Method
progress
(&mut self)
src/tech_tree.rs:204
Function
relative_position_bordered
(rect: Rect, pos: Position)
src/utils.rs:23
Function
render
(app: &App, frame: &mut Frame)
src/ui/tech_tree.rs:58
Function
render
(app: &App, frame: &mut Frame)
src/ui/save_game.rs:77
Function
render
(app: &App, frame: &mut Frame)
src/ui/load_game.rs:45
Function
render
TODO remove the mut here
src/ui/surface.rs:487
Function
render
(app: &App, frame: &mut Frame)
src/ui/pause_menu.rs:60
Function
render
(app: &App, frame: &mut Frame)
src/ui/main_menu.rs:83
Function
render
(app: &App, frame: &mut Frame)
src/ui/documentation.rs:47
Function
render
(app: &App, frame: &mut Frame)
src/ui/settings.rs:12
Method
render_effects
TODO
src/surface/mod.rs:354
Function
render_fx
( effects: &mut Effects, layout: &AppLayout, prev_tick: Duration, frame: &mut Frame, )
src/ui/documentation.rs:68
Method
render_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
Method
render_ref
(&self, area: Rect, buf: &mut Buffer)
src/surface/grid.rs:36
Method
render_ref
TODO move logic to struct state so that it is not calculated every frame
src/entities/container.rs:27
Method
render_ref
(&self, area: Rect, buf: &mut Buffer)
src/widgets/button.rs:125
Method
render_ref
(&self, area: Rect, buf: &mut Buffer)
src/widgets/text_box.rs:79
Method
render_ref
(&self, area: Rect, buf: &mut Buffer)
src/widgets/list.rs:22
Method
render_ref
(&self, area: Rect, buf: &mut Buffer)
src/widgets/depreciated_button.rs:51
Method
render_ref
(&self, area: Rect, buf: &mut Buffer)
src/agents/smelter.rs:18
Method
render_ref
(&self, area: Rect, buf: &mut Buffer)
src/agents/dog.rs:23
Method
render_ref
TODO PERF: store relevant state in LaserCutter so that it is not calculated every render
src/agents/laser_cutter.rs:24
Method
render_ref
(&self, _area: Rect, _buf: &mut Buffer)
src/agents/hud.rs:14
Method
render_ref
(&self, area: Rect, buf: &mut Buffer)
src/agents/fabricator.rs:15
Method
render_surface_cell
(&self, offset: &Position, cell: &mut Cell)
src/agents/smelter.rs:152
Method
render_surface_cell
(&self, _offset: &Position, cell: &mut Cell)
src/agents/dog.rs:174
Method
render_surface_cell
(&self, offset: &Position, cell: &mut Cell)
src/agents/mod.rs:49
Method
reply
(reply: impl std::fmt::Display)
src/agents/mod.rs:103
Method
save
(surface: &Surface, name: String)
src/surface/state.rs:91
Method
save_to_path
(surface: &Surface, path: &PathBuf)
src/surface/state.rs:105
Method
select_item
returns whether or not item was in list
src/widgets/list.rs:212
Method
set_content
(&mut self, input: String)
src/widgets/text_box.rs:105
Method
sketch_of_macro
(self, position: Position)
src/ui/save_game.rs:36
Method
take
(self, dog: Dog, entity: str)
python/gather.py:45
Method
temp
(self)
python/smelter.py:41
Function
test_case1
()
src/puzzles/count_groups.rs:151
Function
test_case1
()
src/agents/laser_cutter.rs:538
Function
test_case2
()
src/agents/laser_cutter.rs:568
Function
test_case3
()
src/agents/laser_cutter.rs:609
Function
test_format_shape
()
src/entities/shape.rs:295
Function
test_normalize
()
src/entities/shape.rs:332
Function
test_shape
()
src/entities/shape.rs:312
Function
test_shapes
()
src/entities/shape.rs:353
Function
there_and_back_again
()
src/utils.rs:105
Method
tick
(&mut self)
src/surface/mod.rs:168
Method
tick
(&mut self, power: &mut Power)
src/agents/smelter.rs:116
Method
tick
(&mut self, power: &mut Power)
src/agents/dog.rs:118
Method
tick
(&mut self, _power: &mut Power)
src/agents/mod.rs:47
Method
tick
(&mut self, _power: &mut Power)
src/agents/laser_cutter.rs:114
← previous
next →
401–500 of 513, ranked by callers