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
↓ 220 callers
Method
map
(&self, f: impl FnOnce(&'a T) -> &'a U)
game/simulation/src/ecs/world.rs:499
↓ 109 callers
Method
push
(&mut self, elem: T)
game/simulation/src/activity/event_logging.rs:62
↓ 59 callers
Method
len
(&self)
game/simulation/src/ecs/component.rs:151
↓ 57 callers
Method
iter
(&self)
game/markov/src/load.rs:65
↓ 53 callers
Method
into_iter
(self)
game/world/src/chunk/slice.rs:87
↓ 51 callers
Method
iter
(&self)
game/simulation/src/ecs/world.rs:147
↓ 50 callers
Method
borrow
(&self)
game/world/src/world_ref.rs:22
↓ 46 callers
Method
clone
(&self)
game/world/src/world_ref.rs:48
↓ 45 callers
Method
borrow_mut
(&self)
game/world/src/world_ref.rs:26
↓ 45 callers
Method
clone
(&self)
game/simulation/src/item/stack.rs:126
↓ 44 callers
Method
is_empty
(&self)
game/simulation/src/event/queue.rs:262
↓ 40 callers
Method
as_ref
(&'a self, viewer: &'a WorldViewer)
game/simulation/src/simulation.rs:635
↓ 36 callers
Method
as_i32
(self)
shared/unit/src/dim.rs:12
↓ 33 callers
Method
to_owned
(self)
game/world/src/chunk/slice.rs:80
↓ 30 callers
Method
next
Identical to ContiguousChunkIterator just different enough with mut to require too much effort to reduce duplication :( lmao even this comment is the
game/world/src/world.rs:1013
↓ 28 callers
Method
iter
(&self)
game/procgen/src/continent.rs:636
↓ 27 callers
Method
take
Only use for free-form structures where all keys are valid
game/simulation/src/ecs/component.rs:160
↓ 25 callers
Function
get
()
shared/config/src/load.rs:136
↓ 25 callers
Method
slice
(&self, index: S)
game/world/src/chunk/slab.rs:107
↓ 22 callers
Method
as_usize
(self)
shared/unit/src/dim.rs:32
↓ 22 callers
Method
iter
(&self)
game/simulation/src/input/system.rs:231
↓ 22 callers
Function
world_from_chunks_blocking
(chunks: Vec<ChunkDescriptor>)
game/world/src/world.rs:1119
↓ 21 callers
Method
filter
(&self)
game/simulation/src/ai/dse/world.rs:61
↓ 21 callers
Method
ok
Some(e) only for Occupied slots
game/simulation/src/item/inventory/equip.rs:25
↓ 20 callers
Method
len
(&self)
game/world/src/chunk/double_sided_vec.rs:23
↓ 20 callers
Method
remove
Returns true if now is empty
game/simulation/src/event/queue.rs:267
↓ 20 callers
Method
write
(&mut self, direction: Rad, value: f32, do_falloff: Falloff)
game/simulation/src/steer/context.rs:151
↓ 19 callers
Method
find_chunk_with_pos
(&self, chunk_pos: ChunkLocation)
game/world/src/world.rs:131
↓ 19 callers
Method
into_iter
(self)
game/simulation/src/ecs/component.rs:171
↓ 18 callers
Method
finish
Don't expect any more calls to place_block
game/procgen/src/region/subfeature.rs:86
↓ 18 callers
Method
position
(&self, interpolation: f64, z: f32)
renderer/engine/src/render/sdl/camera.rs:120
↓ 17 callers
Method
floor
(&self)
shared/unit/src/world/world_point.rs:62
↓ 17 callers
Method
queue
( &self, name: &'static str, update: F, )
game/simulation/src/queued_update.rs:49
↓ 17 callers
Method
slab_index
(self)
shared/unit/src/world/slice_index.rs:90
↓ 17 callers
Method
world
(&self)
game/simulation/src/activity/context.rs:96
↓ 16 callers
Method
into_inner
(self)
game/world/src/world_ref.rs:31
↓ 16 callers
Method
spawn
( &self, gimme_task_ref: Sender<TaskRef>, future: impl Future<Output = BoxedResult<()>
game/simulation/src/runtime/runtime.rs:79
↓ 15 callers
Method
as_block_coord
(self)
shared/unit/src/dim.rs:40
↓ 15 callers
Function
empty
()
game/world/src/chunk/terrain.rs:879
↓ 15 callers
Method
get
(&self, index: I)
game/world/src/chunk/double_sided_vec.rs:27
↓ 15 callers
Method
get
Panics if entity not found, if for example this is not the same inventory the slot was resolved in
game/simulation/src/item/inventory/component.rs:454
↓ 15 callers
Method
get
(&mut self)
game/simulation/src/ecs/world.rs:619
↓ 15 callers
Method
get_mut
( self, storage: &'e mut specs::Storage<C, D>, )
game/simulation/src/ecs/entity.rs:56
↓ 15 callers
Method
into_inner
(mut self)
game/world/src/chunk/builder.rs:112
↓ 15 callers
Method
lock
(&self)
game/procgen/src/region/subfeature.rs:188
↓ 15 callers
Method
ok
(self)
game/world/src/world.rs:1086
↓ 15 callers
Method
value
(&self)
game/simulation/src/item/condition.rs:38
↓ 14 callers
Method
add_now
(&self, entity: Entity, component: T)
game/simulation/src/ecs/world.rs:377
↓ 14 callers
Method
block_type
(self)
game/world/src/block.rs:88
↓ 14 callers
Method
clear
(&mut self)
game/simulation/src/ecs/world.rs:142
↓ 14 callers
Method
clone
(&self)
game/world/src/chunk/double_sided_vec.rs:165
↓ 14 callers
Method
count
(&self)
game/simulation/src/ecs/world.rs:137
↓ 14 callers
Method
simulation
(&self)
renderer/engine/src/render/sdl/ui/context.rs:74
↓ 13 callers
Method
as_i32
(self)
shared/unit/src/world/slab_index.rs:31
↓ 13 callers
Method
as_mut
(&mut self)
game/ai/src/intelligence.rs:263
↓ 13 callers
Method
build
(self, pos: P)
game/world/src/chunk/builder.rs:105
↓ 13 callers
Method
centred
(self)
shared/unit/src/world/world_position.rs:23
↓ 13 callers
Method
clone
(&self)
game/simulation/src/activity/event_logging.rs:77
↓ 13 callers
Method
contains
(&self, neighbour: &RegionNeighbour)
game/procgen/src/region/region.rs:488
↓ 13 callers
Method
contains
(&self, ty: E)
game/simulation/src/event/queue.rs:249
↓ 13 callers
Method
helpers_comps
Helper methods to add and remove components for given actions
game/simulation/src/ecs/world_ext.rs:16
↓ 13 callers
Method
with
(subscriptions: impl Iterator<Item = EventSubscription>)
game/simulation/src/event/queue.rs:223
↓ 12 callers
Method
add
(&mut self, value: T, index: I)
game/world/src/chunk/double_sided_vec.rs:47
↓ 12 callers
Method
entity
(&self)
game/simulation/src/activity/context.rs:92
↓ 12 callers
Method
get
(&mut self, input: C::Input, blackboard: &mut C::Blackboard)
game/ai/src/intelligence.rs:62
↓ 12 callers
Method
get_unchecked
(&self, coord: impl CoordType)
shared/grid/src/grid_impl.rs:75
↓ 12 callers
Method
retain
Removes all where f(area) == false. Returns number removed
game/world/src/navigation/area_navigation.rs:252
↓ 12 callers
Method
society_by_handle
Fallible in case societies can be removed
game/simulation/src/society/registry.rs:76
↓ 12 callers
Method
world
(&self)
game/world/src/viewer.rs:235
↓ 12 callers
Method
xy
(self)
game/procgen/src/region/unit.rs:92
↓ 12 callers
Method
z
(&self)
game/simulation/src/transform.rs:80
↓ 11 callers
Method
get
Don't use for visibility checking
game/simulation/src/society/registry.rs:126
↓ 11 callers
Method
key_value
( &'a self, key: &str, value: impl FnOnce() -> V, tooltip: Option<&str>,
renderer/engine/src/render/sdl/ui/windows/mod.rs:37
↓ 11 callers
Method
next
(self)
game/simulation/src/steer/context.rs:29
↓ 11 callers
Method
set_block
Returns if block was set successfully, depends on slab creation policy
game/world/src/chunk/terrain.rs:259
↓ 11 callers
Method
try_into
(self)
game/simulation/src/ai/action.rs:55
↓ 10 callers
Method
abs
(mut self)
shared/unit/src/world/slice_index.rs:47
↓ 10 callers
Method
bottom
(self)
game/world/src/viewer.rs:74
↓ 10 callers
Method
cmp
(&self, other: &MinScored<K, T>)
game/world/src/navigation/astar.rs:159
↓ 10 callers
Function
make_graph
(chunks: Vec<ChunkDescriptor>)
game/world/src/navigation/area_navigation.rs:324
↓ 10 callers
Method
opacity
(self)
game/world/src/block.rs:96
↓ 10 callers
Method
ranges
(&self)
shared/unit/src/world/range.rs:98
↓ 10 callers
Method
voxel_world
(&self)
game/simulation/src/simulation.rs:289
↓ 10 callers
Method
y
(&self)
game/procgen/src/region/unit.rs:174
↓ 9 callers
Method
add_to_container
Removes TransformComponent and adds given ContainedInComponent. Item must still be added to ContainerComponent!!
game/simulation/src/ecs/world_ext.rs:99
↓ 9 callers
Method
build
(self)
game/simulation/src/render/debug.rs:74
↓ 9 callers
Method
build
(self)
renderer/engine/src/render/sdl/gl/vertex.rs:439
↓ 9 callers
Method
components
(&self)
game/simulation/src/definitions/loader/step3_construction.rs:48
↓ 9 callers
Method
create_entity
(&self)
game/simulation/src/ecs/world.rs:410
↓ 9 callers
Method
entry_unchecked
(&self, region: RegionLocation<SIZE>)
game/procgen/src/region/regions.rs:477
↓ 9 callers
Method
get
(&self, blackboard: &mut <AiContext as Context>::Blackboard)
game/simulation/src/ai/input.rs:52
↓ 9 callers
Method
into_type
(self)
game/simulation/src/definitions/loader/step1_deserialization.rs:211
↓ 9 callers
Function
load
( resources: resources::Definitions, string_cache: &StringCache, )
game/simulation/src/definitions/loader/load.rs:11
↓ 9 callers
Method
set_block
(&mut self, pos: P, block: B)
game/world/src/chunk/slice.rs:142
↓ 9 callers
Method
slice
(&self)
game/simulation/src/transform.rs:69
↓ 9 callers
Method
solid
(self)
game/world/src/block.rs:60
↓ 9 callers
Method
to_global
(self, slab: SlabIndex)
shared/unit/src/world/slice_index.rs:109
↓ 9 callers
Method
to_world_position
(self, slab: SlabLocation)
shared/unit/src/world/slab_position.rs:30
↓ 9 callers
Method
update_status
(&self, status: impl Status + 'static)
game/simulation/src/activity/context.rs:332
↓ 9 callers
Method
voxel_world
(&self)
game/simulation/src/ecs/world.rs:398
next →
1–100 of 2,421, ranked by callers