Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PoOnesNerfect/bit_gossip
/ functions
Functions
157 in github.com/PoOnesNerfect/bit_gossip
⨍
Functions
157
◇
Types & classes
53
↓ 47 callers
Method
as_usize
(self)
bit_gossip/src/graph/mod.rs:550
↓ 46 callers
Method
len
(&self)
bit_gossip/src/graph/parallel.rs:644
↓ 32 callers
Method
set_bit
(&mut self, bit_index: usize, value: bool)
bit_gossip/src/bitvec/bitvec.rs:57
↓ 26 callers
Method
is_zero
(&self)
bit_gossip/src/bitvec/bitvec.rs:96
↓ 14 callers
Function
edge_id
(node_a_index: T, node_b_index: T)
bit_gossip/src/lib.rs:23
↓ 14 callers
Method
len
(&self)
bit_gossip/src/graph/sequential.rs:652
↓ 11 callers
Method
connect
(&mut self, a: NodeId, b: NodeId)
bit_gossip/src/graph/mod.rs:416
↓ 9 callers
Method
clear
(&mut self)
bit_gossip/src/bitvec/bitvec.rs:126
↓ 8 callers
Method
bitor_assign
a = a | b
bit_gossip/src/bitvec/bitvec.rs:193
↓ 8 callers
Function
node_to_pos
(node: u16, grid: &GridDimensions)
examples/maze/src/game/movement.rs:125
↓ 7 callers
Method
get
(&self, edge_id: (NodeId, NodeId))
bit_gossip/src/graph/parallel.rs:674
↓ 6 callers
Method
insert
(&mut self, edge_id: (NodeId, NodeId), val: BitVec)
bit_gossip/src/graph/sequential.rs:690
↓ 6 callers
Method
normalize
(&mut self)
bit_gossip/src/bitvec/bitvec.rs:131
↓ 5 callers
Method
build
(self)
bit_gossip/src/graph/mod.rs:445
↓ 5 callers
Method
eq
Check if all bits are the same.
bit_gossip/src/bitvec/bitvec.rs:152
↓ 5 callers
Method
insert
(&mut self, edge_id: (NodeId, NodeId), val: BitVec, nodes_len: usize)
bit_gossip/src/graph/parallel.rs:682
↓ 5 callers
Method
iter_zeros
(&self)
bit_gossip/src/bitvec/bitvec.rs:114
↓ 5 callers
Method
next
(&mut self)
bit_gossip/src/graph/mod.rs:303
↓ 4 callers
Function
get_neighbor
(node: u16, dir: KeyCode, grid: &GridDimensions)
examples/maze/src/game/player.rs:51
↓ 4 callers
Method
is_none
(&self)
bit_gossip/src/graph/mod.rs:351
↓ 4 callers
Method
iter_ones
(&self)
bit_gossip/src/bitvec/bitvec.rs:102
↓ 4 callers
Method
set_builder
(&mut self, nodes_len: usize, multi_threaded: Option<bool>)
bit_gossip/src/graph/mod.rs:356
↓ 4 callers
Method
update
(&self, edge_id: (NodeId, NodeId), val: BitVec)
bit_gossip/src/graph/parallel.rs:693
↓ 3 callers
Method
bitand_not_assign
a = a & !b
bit_gossip/src/bitvec/bitvec.rs:161
↓ 3 callers
Method
chunks
(self, chunk_size: usize)
bit_gossip/src/bitvec/atomic_bitvec.rs:210
↓ 3 callers
Method
get
(&self, edge_id: (NodeId, NodeId))
bit_gossip/src/graph/sequential.rs:682
↓ 3 callers
Method
into_bitvec
(&self)
bit_gossip/src/bitvec/atomic_bitvec.rs:124
↓ 3 callers
Method
neighbor_to
(&self, curr: NodeId, dest: NodeId)
bit_gossip/src/graph/mod.rs:193
↓ 3 callers
Method
neighbors
(&self, node: NodeId)
bit_gossip/src/graph/sequential.rs:126
↓ 3 callers
Method
neighbors
(&self, node: NodeId)
bit_gossip/src/graph/parallel.rs:134
↓ 3 callers
Function
node_to_cell
(node: u16, grid: &GridDimensions)
examples/maze/src/game/movement.rs:136
↓ 3 callers
Method
resize
Resize the graph to the given number of nodes. All edges that are connected to nodes that are removed will also be removed.
bit_gossip/src/graph/mod.rs:401
↓ 3 callers
Method
size
(&self)
examples/maze/src/lib.rs:59
↓ 2 callers
Function
astar_path
( curr: u16, dest: u16, neighbors: &Vec<Vec<u16>>, grid: &GridDimensions, )
examples/astar_maze/src/plugin.rs:96
↓ 2 callers
Method
bitor_and_assign
a = a | (b & c)
bit_gossip/src/bitvec/bitvec.rs:213
↓ 2 callers
Method
bitor_not_and_assign
a = a | (!b & c)
bit_gossip/src/bitvec/bitvec.rs:236
↓ 2 callers
Function
build_maze
Builds a maze of the given width and height. Returns a list of pairs of cells that are connected.
bit_gossip/src/maze.rs:14
↓ 2 callers
Function
build_maze_with_rng
Given width and height, build a maze with the provided Rng. Returns a list of pairs of cells that are connected.
bit_gossip/src/maze.rs:30
↓ 2 callers
Method
connect
(&mut self, a: NodeId, b: NodeId)
bit_gossip/src/graph/sequential.rs:256
↓ 2 callers
Method
connect
Add an edge between node_a and node_b
bit_gossip/src/graph/parallel.rs:258
↓ 2 callers
Method
get_bit
(&self, bit_index: usize)
bit_gossip/src/bitvec/bitvec.rs:78
↓ 2 callers
Method
neighbor_to
(&self, curr: NodeId, dest: NodeId)
bit_gossip/src/graph/sequential.rs:59
↓ 2 callers
Method
neighbor_to
(&self, curr: NodeId, dest: NodeId)
bit_gossip/src/graph/parallel.rs:67
↓ 2 callers
Method
neighbors_to
(&self, curr: NodeId, dest: NodeId)
bit_gossip/src/graph/mod.rs:225
↓ 2 callers
Method
neighbors_to
(&self, curr: NodeId, dest: NodeId)
bit_gossip/src/graph/sequential.rs:91
↓ 2 callers
Method
neighbors_to
(&self, curr: NodeId, dest: NodeId)
bit_gossip/src/graph/parallel.rs:99
↓ 2 callers
Method
nodes_len
(&self)
bit_gossip/src/graph/mod.rs:272
↓ 2 callers
Method
resize
Resize the graph to the given number of nodes. All edges that are connected to nodes that are removed will also be removed.
bit_gossip/src/graph/sequential.rs:243
↓ 2 callers
Method
truncate
Truncate the edges to the given length of nodes.
bit_gossip/src/graph/sequential.rs:699
↓ 2 callers
Method
truncate
Truncate the edges to the given length of nodes.
bit_gossip/src/graph/parallel.rs:700
↓ 1 callers
Method
assign_from
(&self, rhs: &BitVec)
bit_gossip/src/bitvec/atomic_bitvec.rs:135
↓ 1 callers
Method
bitand_not_assign_atomic
a = a & !b Takes an `AtomicBitVec` as the right-hand side.
bit_gossip/src/bitvec/bitvec.rs:176
↓ 1 callers
Method
bitor_assign_atomic
a |= b
bit_gossip/src/bitvec/atomic_bitvec.rs:180
↓ 1 callers
Method
build
(self)
bit_gossip/src/graph/sequential.rs:297
↓ 1 callers
Method
build
Build the ParaGraph from the current state of the builder.
bit_gossip/src/graph/parallel.rs:302
↓ 1 callers
Method
build
(&self, app: &mut App)
examples/maze/src/bit_gossip.rs:19
↓ 1 callers
Method
next
(&mut self)
bit_gossip/src/bitvec/bitvec.rs:288
↓ 1 callers
Method
next
(&mut self)
bit_gossip/src/graph/sequential.rs:155
↓ 1 callers
Method
next
(&mut self)
bit_gossip/src/graph/parallel.rs:163
↓ 1 callers
Method
set_bit
(&self, index: usize, value: bool)
bit_gossip/src/bitvec/atomic_bitvec.rs:55
↓ 1 callers
Method
with_speed
(mut self, speed: f32)
examples/maze/src/game/movement.rs:28
Method
bitor_assign
a |= b
bit_gossip/src/bitvec/atomic_bitvec.rs:171
Method
build
(&self, app: &mut App)
examples/maze/src/lib.rs:25
Method
build
(&self, app: &mut App)
examples/maze/src/game/mod.rs:11
Method
build
(&self, app: &mut App)
examples/maze/src/game/enemy.rs:13
Method
build
(&self, app: &mut App)
examples/maze/src/game/movement.rs:7
Method
build
(&self, app: &mut App)
examples/maze/src/game/player.rs:9
Method
build
(&self, app: &mut App)
examples/maze/src/graphics/mod.rs:13
Method
build
(&self, app: &mut App)
examples/maze/src/graphics/enemy.rs:13
Method
build
(&self, app: &mut App)
examples/maze/src/graphics/player.rs:12
Method
build
(&self, app: &mut App)
examples/astar_maze/src/plugin.rs:16
Function
build_maze_from_seed
Given width and height, build a maze with the provided seed. Returns a list of pairs of cells that are connected. Uses [StdRng] with the provided se
bit_gossip/src/maze.rs:23
Method
builder
(nodes_len: usize)
bit_gossip/src/graph/mod.rs:135
Method
builder
(nodes_len: usize)
bit_gossip/src/graph/sequential.rs:17
Method
builder
(nodes_len: usize)
bit_gossip/src/graph/parallel.rs:21
Function
camera_setup
(mut commands: Commands)
examples/maze/src/graphics/mod.rs:119
Method
clear
(&self)
bit_gossip/src/bitvec/atomic_bitvec.rs:101
Function
compute_graph
(mut commands: Commands, maze: Res<Maze>, grid: Res<GridDimensions>)
examples/maze/src/bit_gossip.rs:87
Method
count_ones
(&self)
bit_gossip/src/bitvec/bitvec.rs:88
Method
default
()
examples/maze/src/lib.rs:50
Method
default
()
examples/maze/src/graphics/enemy.rs:37
Method
disconnect
(&mut self, a: NodeId, b: NodeId)
bit_gossip/src/graph/mod.rs:431
Method
disconnect
(&mut self, a: NodeId, b: NodeId)
bit_gossip/src/graph/sequential.rs:285
Method
disconnect
Remove an edge between node_a and node_b
bit_gossip/src/graph/parallel.rs:290
Function
draw_maze
spawn one big board with black lines (grid.width - 1) vertically and (grid.height - 1) horizontally. For all the edges in the maze, spawn a white to o
examples/maze/src/graphics/mod.rs:30
Method
edges_len
(&self)
bit_gossip/src/graph/mod.rs:282
Method
edges_len
(&self)
bit_gossip/src/graph/sequential.rs:138
Method
edges_len
(&self)
bit_gossip/src/graph/parallel.rs:146
Method
eq
Checks if two bitvecs are equal.
bit_gossip/src/bitvec/atomic_bitvec.rs:159
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
bit_gossip/src/bitvec/bitvec.rs:264
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
bit_gossip/src/bitvec/atomic_bitvec.rs:192
Function
follow_player
( mut commands: Commands, graph: Query<&MyGraph>, player: Query<&Player, Changed<Player>>, mut
examples/maze/src/bit_gossip.rs:33
Function
follow_player
( grid: Res<GridDimensions>, mut query: Query<(&Player, &mut Transform), Changed<Player>>, )
examples/maze/src/graphics/player.rs:34
Function
follow_player
( mut commands: Commands, grid: Res<GridDimensions>, neighbors: Res<Neighbors>, player: Query<
examples/astar_maze/src/plugin.rs:24
Method
from_bitvec
(bits: &BitVec, n: usize)
bit_gossip/src/bitvec/atomic_bitvec.rs:108
Method
from_usize
(value: usize)
bit_gossip/src/graph/mod.rs:555
Method
get_bit
(&self, index: usize)
bit_gossip/src/bitvec/atomic_bitvec.rs:68
Function
handle_input
( keyboard_input: Res<ButtonInput<KeyCode>>, grid: Res<GridDimensions>, neighbors: Res<Neighbors>,
examples/maze/src/game/player.rs:18
Function
insert_character_mesh
(mut commands: Commands, mut meshes: ResMut<Assets<Mesh>>)
examples/maze/src/graphics/mod.rs:22
Function
insert_enemy_material
(mut commands: Commands, mut materials: ResMut<Assets<ColorMaterial>>)
examples/maze/src/graphics/enemy.rs:49
next →
1–100 of 157, ranked by callers