Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DomWilliams0/name-needed
/ functions
Functions
2,421 in github.com/DomWilliams0/name-needed
⨍
Functions
2,421
◇
Types & classes
760
↓ 9 callers
Method
x
(&self)
shared/unit/src/world/world_point.rs:109
↓ 9 callers
Method
y
(&self)
shared/unit/src/world/world_point.rs:114
↓ 9 callers
Method
z
(&self)
shared/unit/src/world/world_point.rs:119
↓ 8 callers
Method
add
(&mut self, subscription: EventSubscription)
game/simulation/src/event/queue.rs:229
↓ 8 callers
Method
block
(&self, pos: P)
game/world/src/world.rs:522
↓ 8 callers
Method
borrow
(&self)
game/world/src/chunk/slice.rs:101
↓ 8 callers
Method
find_chunk_with_pos_mut
(&mut self, chunk_pos: ChunkLocation)
game/world/src/world.rs:137
↓ 8 callers
Method
iter
(&self)
game/simulation/src/event/queue.rs:281
↓ 8 callers
Method
jobs_mut
(&self)
game/simulation/src/society/society.rs:43
↓ 8 callers
Function
loader_from_chunks_blocking
( chunks: Vec<ChunkDescriptor>, )
game/world/src/world.rs:1123
↓ 8 callers
Method
post
(&mut self, event: EntityEvent)
game/simulation/src/event/queue.rs:63
↓ 8 callers
Method
post_event
(&self, event: EntityEvent)
game/simulation/src/ecs/world.rs:109
↓ 8 callers
Method
raw_terrain
(&self)
game/world/src/chunk/chunk.rs:348
↓ 8 callers
Method
reserve
Removes any other reservation for the given entity
game/simulation/src/society/job/list.rs:290
↓ 8 callers
Method
resource
(&self)
game/simulation/src/ecs/world.rs:362
↓ 8 callers
Method
scoped_bind
(&self)
renderer/engine/src/render/sdl/gl/vertex.rs:404
↓ 8 callers
Method
subscribe
( &mut self, subscriber: Entity, subscriptions: impl Iterator<Item = EntityEventSubscr
game/simulation/src/event/queue.rs:35
↓ 8 callers
Method
top
(self)
game/world/src/viewer.rs:77
↓ 8 callers
Method
value
(self)
game/simulation/src/simulation.rs:670
↓ 7 callers
Method
above
(&self)
shared/unit/src/world/range.rs:144
↓ 7 callers
Function
all_slabs_in_range
Inclusive range. Is sorted by chunk then slab
shared/unit/src/world/slab_location.rs:39
↓ 7 callers
Method
biomes_mut
(&mut self)
game/procgen/src/region/region.rs:583
↓ 7 callers
Method
ceil
(&self)
shared/unit/src/world/world_point.rs:70
↓ 7 callers
Method
contains
(self, slice: S)
game/world/src/viewer.rs:69
↓ 7 callers
Function
create
()
game/simulation/src/society/job/list.rs:437
↓ 7 callers
Method
distance2
(&self, other: impl Into<Self>)
shared/unit/src/world/world_point.rs:92
↓ 7 callers
Function
do_scan
( setup: impl FnOnce(&mut [SmolRegionChunk; SIZE_2]), )
game/procgen/src/region/row_scanning.rs:291
↓ 7 callers
Method
entity_range
Slice range for entity rendering: 1 above the terrain. This means we will always be able to see entities walking above the bottom slice of terrain (ne
game/world/src/viewer.rs:247
↓ 7 callers
Method
fill_slice
(mut self, slice: S, block: B)
game/world/src/chunk/builder.rs:47
↓ 7 callers
Method
get_int
(&mut self, key: &str)
game/simulation/src/ecs/component.rs:118
↓ 7 callers
Method
go_to
( &mut self, dest: WorldPoint, speed: NormalizedFloat, goal: SearchGoal,
game/simulation/src/activity/subactivity/go_to.rs:53
↓ 7 callers
Method
helpers_containers
Helper methods to work with container entities
game/simulation/src/item/containers.rs:71
↓ 7 callers
Method
is_entity_alive
(&self, entity: Entity)
game/simulation/src/ecs/world.rs:464
↓ 7 callers
Method
iter
(&self)
game/simulation/src/activity/event_logging.rs:71
↓ 7 callers
Function
map_range
( from_range: (F, F), to_range: (F, F), s: F, )
game/procgen/src/lib.rs:41
↓ 7 callers
Method
open
Opened at mouse position
game/simulation/src/input/popup.rs:34
↓ 7 callers
Method
path
(&self)
game/world/src/navigation/path.rs:98
↓ 7 callers
Method
sample
(coastline_proximity, base elevation, moisture, temperature)
game/procgen/src/biome.rs:178
↓ 7 callers
Method
set_biome
(&mut self, biome: BiomeType)
game/procgen/src/region/region.rs:669
↓ 7 callers
Method
slice
(&self)
shared/unit/src/world/world_point.rs:51
↓ 7 callers
Method
slice_mut
(&mut self, index: S)
game/world/src/chunk/slab.rs:113
↓ 7 callers
Method
slice_mut
Calls `Slab::expect_mut`, panics if not the exclusive reference
game/world/src/chunk/terrain.rs:48
↓ 7 callers
Method
xyz
(&self)
shared/unit/src/space/view.rs:27
↓ 6 callers
Method
area
(&self, pos: P)
game/world/src/world.rs:621
↓ 6 callers
Method
below
(&self)
shared/unit/src/world/range.rs:134
↓ 6 callers
Method
borrow
(&self)
renderer/engine/src/render/sdl/gl/texture.rs:43
↓ 6 callers
Method
clear
(&self)
renderer/engine/src/render/sdl/gl/texture.rs:83
↓ 6 callers
Function
current
()
testing/src/lib.rs:86
↓ 6 callers
Method
current_selected
Only complete selection
game/simulation/src/input/system.rs:376
↓ 6 callers
Method
field
(&self, name: &str)
game/simulation/src/definitions/loader/step2_preprocessing.rs:190
↓ 6 callers
Method
find_area_path
( &self, start: WorldArea, goal: WorldArea, )
game/world/src/navigation/area_navigation.rs:167
↓ 6 callers
Method
flatten
(coord: impl CoordType)
shared/grid/src/grid_impl.rs:128
↓ 6 callers
Method
flatten_coords
(&self, [x, y, z]: [usize; 3])
shared/grid/src/dynamic.rs:30
↓ 6 callers
Method
get
(&self)
game/procgen/src/region/unit.rs:159
↓ 6 callers
Method
get_block
(&self, pos: BlockPosition)
game/world/src/chunk/terrain.rs:72
↓ 6 callers
Method
get_unchecked_mut
(&mut self, coord: impl CoordType)
shared/grid/src/grid_impl.rs:82
↓ 6 callers
Method
handle
(&self)
game/simulation/src/society/society.rs:35
↓ 6 callers
Method
helpers_dev
(&self)
game/simulation/src/dev.rs:25
↓ 6 callers
Method
id
(&self)
game/world/src/chunk/chunk.rs:93
↓ 6 callers
Method
issue_request
(&self, req: UiRequest)
renderer/engine/src/render/sdl/ui/context.rs:78
↓ 6 callers
Method
iter_coords
(&self)
shared/grid/src/dynamic.rs:92
↓ 6 callers
Function
load_single_chunk
(chunk: ChunkBuilder)
game/world/src/world.rs:1110
↓ 6 callers
Method
modify_z
Panics if new value is not finite
shared/unit/src/world/world_point.rs:136
↓ 6 callers
Method
next_batch
(&mut self)
game/world/src/loader/batch.rs:64
↓ 6 callers
Method
pop
(&mut self, neighbour: RegionNeighbour)
game/procgen/src/region/region.rs:473
↓ 6 callers
Method
pos
(&self)
game/world/src/chunk/chunk.rs:89
↓ 6 callers
Function
preprocess_from_str
(input: &str)
game/simulation/src/definitions/loader/load.rs:29
↓ 6 callers
Method
slab
(&self, index: SlabIndex)
game/world/src/chunk/terrain.rs:186
↓ 6 callers
Method
slice
(&self, index: S)
game/world/src/chunk/terrain.rs:33
↓ 6 callers
Method
slice_range
( &self, range: SliceRange, )
game/world/src/chunk/chunk.rs:141
↓ 6 callers
Method
subscribe_to_specific_until
Common pattern using [subscribe_to_specific] that waits for a single event type, and returns the payload on success.
game/simulation/src/activity/context.rs:256
↓ 6 callers
Method
wait
(&self, ticks: u32)
game/simulation/src/activity/context.rs:100
↓ 6 callers
Method
x
(&self)
game/procgen/src/region/unit.rs:169
↓ 5 callers
Method
add_divine_command
(&mut self, command: AiAction)
game/simulation/src/ai/system.rs:45
↓ 5 callers
Method
add_with
( &mut self, entity: Entity, entity_volume: Volume, entity_size: Length3,
game/simulation/src/item/inventory/container.rs:68
↓ 5 callers
Function
apply_updates
( loader: &mut WorldLoader<DummyWorldContext>, updates: &[WorldTerrainUpdate], )
game/world/src/world.rs:1139
↓ 5 callers
Method
as_f32
(self)
shared/unit/src/dim.rs:8
↓ 5 callers
Method
as_u8
(self)
game/world/src/occlusion.rs:117
↓ 5 callers
Method
associated_block_data
(&self, pos: WorldPosition)
game/world/src/world.rs:689
↓ 5 callers
Method
bounds
(&self)
game/simulation/src/input/system.rs:464
↓ 5 callers
Method
choose
( &'a mut self, blackboard: &'a mut C::Blackboard, alloc: &'a bumpalo::Bump, )
game/ai/src/intelligence.rs:125
↓ 5 callers
Method
count
(&self)
game/simulation/src/item/stack.rs:385
↓ 5 callers
Method
count
(&self)
shared/unit/src/world/range.rs:114
↓ 5 callers
Method
debug_add_line
(&mut self, from: WorldPoint, to: WorldPoint, color: Color)
game/simulation/src/render/renderer.rs:48
↓ 5 callers
Method
get
(&mut self, key: &str)
game/simulation/src/ecs/component.rs:108
↓ 5 callers
Method
get_file
(&self, file: impl AsRef<ResourceFile>)
game/resources/src/container.rs:18
↓ 5 callers
Method
get_mut
(&mut self, index: I)
game/world/src/chunk/double_sided_vec.rs:37
↓ 5 callers
Method
indices_increasing
(&self)
game/world/src/chunk/double_sided_vec.rs:115
↓ 5 callers
Method
initialized
(self)
game/world/src/navigation/mod.rs:58
↓ 5 callers
Method
inner
(&self)
game/procgen/src/planet.rs:288
↓ 5 callers
Method
iter_blocks
(&self)
shared/unit/src/world/range.rs:294
↓ 5 callers
Method
iter_outline
2d outline in xy, keeps full z range
shared/unit/src/world/range.rs:310
↓ 5 callers
Method
kill_entity
(&self, entity: Entity, reason: DeathReason)
game/simulation/src/ecs/world.rs:414
↓ 5 callers
Function
load_regions
(regions_to_request: impl Iterator<Item = (u32, u32)>)
game/procgen/src/region/regions.rs:902
↓ 5 callers
Method
metres
(self)
shared/unit/src/space/length.rs:28
↓ 5 callers
Method
new_entity
(&self, def: &str, pos: EntityPosition)
testing/src/helpers.rs:16
↓ 5 callers
Function
not_nan
(x: f32)
shared/unit/src/world/world_point.rs:18
↓ 5 callers
Method
occlusion
(&self)
game/world/src/block.rs:133
↓ 5 callers
Method
raw_terrain_mut
(&mut self)
game/world/src/chunk/chunk.rs:352
↓ 5 callers
Method
resolve
(mut self)
game/simulation/src/steer/context.rs:196
← previous
next →
101–200 of 2,421, ranked by callers