MCPcopy Create free account

hub / github.com/PoOnesNerfect/bit_gossip / functions

Functions157 in github.com/PoOnesNerfect/bit_gossip

↓ 47 callersMethodas_usize
(self)
bit_gossip/src/graph/mod.rs:550
↓ 46 callersMethodlen
(&self)
bit_gossip/src/graph/parallel.rs:644
↓ 32 callersMethodset_bit
(&mut self, bit_index: usize, value: bool)
bit_gossip/src/bitvec/bitvec.rs:57
↓ 26 callersMethodis_zero
(&self)
bit_gossip/src/bitvec/bitvec.rs:96
↓ 14 callersFunctionedge_id
(node_a_index: T, node_b_index: T)
bit_gossip/src/lib.rs:23
↓ 14 callersMethodlen
(&self)
bit_gossip/src/graph/sequential.rs:652
↓ 11 callersMethodconnect
(&mut self, a: NodeId, b: NodeId)
bit_gossip/src/graph/mod.rs:416
↓ 9 callersMethodclear
(&mut self)
bit_gossip/src/bitvec/bitvec.rs:126
↓ 8 callersMethodbitor_assign
a = a | b
bit_gossip/src/bitvec/bitvec.rs:193
↓ 8 callersFunctionnode_to_pos
(node: u16, grid: &GridDimensions)
examples/maze/src/game/movement.rs:125
↓ 7 callersMethodget
(&self, edge_id: (NodeId, NodeId))
bit_gossip/src/graph/parallel.rs:674
↓ 6 callersMethodinsert
(&mut self, edge_id: (NodeId, NodeId), val: BitVec)
bit_gossip/src/graph/sequential.rs:690
↓ 6 callersMethodnormalize
(&mut self)
bit_gossip/src/bitvec/bitvec.rs:131
↓ 5 callersMethodbuild
(self)
bit_gossip/src/graph/mod.rs:445
↓ 5 callersMethodeq
Check if all bits are the same.
bit_gossip/src/bitvec/bitvec.rs:152
↓ 5 callersMethodinsert
(&mut self, edge_id: (NodeId, NodeId), val: BitVec, nodes_len: usize)
bit_gossip/src/graph/parallel.rs:682
↓ 5 callersMethoditer_zeros
(&self)
bit_gossip/src/bitvec/bitvec.rs:114
↓ 5 callersMethodnext
(&mut self)
bit_gossip/src/graph/mod.rs:303
↓ 4 callersFunctionget_neighbor
(node: u16, dir: KeyCode, grid: &GridDimensions)
examples/maze/src/game/player.rs:51
↓ 4 callersMethodis_none
(&self)
bit_gossip/src/graph/mod.rs:351
↓ 4 callersMethoditer_ones
(&self)
bit_gossip/src/bitvec/bitvec.rs:102
↓ 4 callersMethodset_builder
(&mut self, nodes_len: usize, multi_threaded: Option<bool>)
bit_gossip/src/graph/mod.rs:356
↓ 4 callersMethodupdate
(&self, edge_id: (NodeId, NodeId), val: BitVec)
bit_gossip/src/graph/parallel.rs:693
↓ 3 callersMethodbitand_not_assign
a = a & !b
bit_gossip/src/bitvec/bitvec.rs:161
↓ 3 callersMethodchunks
(self, chunk_size: usize)
bit_gossip/src/bitvec/atomic_bitvec.rs:210
↓ 3 callersMethodget
(&self, edge_id: (NodeId, NodeId))
bit_gossip/src/graph/sequential.rs:682
↓ 3 callersMethodinto_bitvec
(&self)
bit_gossip/src/bitvec/atomic_bitvec.rs:124
↓ 3 callersMethodneighbor_to
(&self, curr: NodeId, dest: NodeId)
bit_gossip/src/graph/mod.rs:193
↓ 3 callersMethodneighbors
(&self, node: NodeId)
bit_gossip/src/graph/sequential.rs:126
↓ 3 callersMethodneighbors
(&self, node: NodeId)
bit_gossip/src/graph/parallel.rs:134
↓ 3 callersFunctionnode_to_cell
(node: u16, grid: &GridDimensions)
examples/maze/src/game/movement.rs:136
↓ 3 callersMethodresize
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 callersMethodsize
(&self)
examples/maze/src/lib.rs:59
↓ 2 callersFunctionastar_path
( curr: u16, dest: u16, neighbors: &Vec<Vec<u16>>, grid: &GridDimensions, )
examples/astar_maze/src/plugin.rs:96
↓ 2 callersMethodbitor_and_assign
a = a | (b & c)
bit_gossip/src/bitvec/bitvec.rs:213
↓ 2 callersMethodbitor_not_and_assign
a = a | (!b & c)
bit_gossip/src/bitvec/bitvec.rs:236
↓ 2 callersFunctionbuild_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 callersFunctionbuild_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 callersMethodconnect
(&mut self, a: NodeId, b: NodeId)
bit_gossip/src/graph/sequential.rs:256
↓ 2 callersMethodconnect
Add an edge between node_a and node_b
bit_gossip/src/graph/parallel.rs:258
↓ 2 callersMethodget_bit
(&self, bit_index: usize)
bit_gossip/src/bitvec/bitvec.rs:78
↓ 2 callersMethodneighbor_to
(&self, curr: NodeId, dest: NodeId)
bit_gossip/src/graph/sequential.rs:59
↓ 2 callersMethodneighbor_to
(&self, curr: NodeId, dest: NodeId)
bit_gossip/src/graph/parallel.rs:67
↓ 2 callersMethodneighbors_to
(&self, curr: NodeId, dest: NodeId)
bit_gossip/src/graph/mod.rs:225
↓ 2 callersMethodneighbors_to
(&self, curr: NodeId, dest: NodeId)
bit_gossip/src/graph/sequential.rs:91
↓ 2 callersMethodneighbors_to
(&self, curr: NodeId, dest: NodeId)
bit_gossip/src/graph/parallel.rs:99
↓ 2 callersMethodnodes_len
(&self)
bit_gossip/src/graph/mod.rs:272
↓ 2 callersMethodresize
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 callersMethodtruncate
Truncate the edges to the given length of nodes.
bit_gossip/src/graph/sequential.rs:699
↓ 2 callersMethodtruncate
Truncate the edges to the given length of nodes.
bit_gossip/src/graph/parallel.rs:700
↓ 1 callersMethodassign_from
(&self, rhs: &BitVec)
bit_gossip/src/bitvec/atomic_bitvec.rs:135
↓ 1 callersMethodbitand_not_assign_atomic
a = a & !b Takes an `AtomicBitVec` as the right-hand side.
bit_gossip/src/bitvec/bitvec.rs:176
↓ 1 callersMethodbitor_assign_atomic
a |= b
bit_gossip/src/bitvec/atomic_bitvec.rs:180
↓ 1 callersMethodbuild
(self)
bit_gossip/src/graph/sequential.rs:297
↓ 1 callersMethodbuild
Build the ParaGraph from the current state of the builder.
bit_gossip/src/graph/parallel.rs:302
↓ 1 callersMethodbuild
(&self, app: &mut App)
examples/maze/src/bit_gossip.rs:19
↓ 1 callersMethodnext
(&mut self)
bit_gossip/src/bitvec/bitvec.rs:288
↓ 1 callersMethodnext
(&mut self)
bit_gossip/src/graph/sequential.rs:155
↓ 1 callersMethodnext
(&mut self)
bit_gossip/src/graph/parallel.rs:163
↓ 1 callersMethodset_bit
(&self, index: usize, value: bool)
bit_gossip/src/bitvec/atomic_bitvec.rs:55
↓ 1 callersMethodwith_speed
(mut self, speed: f32)
examples/maze/src/game/movement.rs:28
Methodbitor_assign
a |= b
bit_gossip/src/bitvec/atomic_bitvec.rs:171
Methodbuild
(&self, app: &mut App)
examples/maze/src/lib.rs:25
Methodbuild
(&self, app: &mut App)
examples/maze/src/game/mod.rs:11
Methodbuild
(&self, app: &mut App)
examples/maze/src/game/enemy.rs:13
Methodbuild
(&self, app: &mut App)
examples/maze/src/game/movement.rs:7
Methodbuild
(&self, app: &mut App)
examples/maze/src/game/player.rs:9
Methodbuild
(&self, app: &mut App)
examples/maze/src/graphics/mod.rs:13
Methodbuild
(&self, app: &mut App)
examples/maze/src/graphics/enemy.rs:13
Methodbuild
(&self, app: &mut App)
examples/maze/src/graphics/player.rs:12
Methodbuild
(&self, app: &mut App)
examples/astar_maze/src/plugin.rs:16
Functionbuild_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
Methodbuilder
(nodes_len: usize)
bit_gossip/src/graph/mod.rs:135
Methodbuilder
(nodes_len: usize)
bit_gossip/src/graph/sequential.rs:17
Methodbuilder
(nodes_len: usize)
bit_gossip/src/graph/parallel.rs:21
Functioncamera_setup
(mut commands: Commands)
examples/maze/src/graphics/mod.rs:119
Methodclear
(&self)
bit_gossip/src/bitvec/atomic_bitvec.rs:101
Functioncompute_graph
(mut commands: Commands, maze: Res<Maze>, grid: Res<GridDimensions>)
examples/maze/src/bit_gossip.rs:87
Methodcount_ones
(&self)
bit_gossip/src/bitvec/bitvec.rs:88
Methoddefault
()
examples/maze/src/lib.rs:50
Methoddefault
()
examples/maze/src/graphics/enemy.rs:37
Methoddisconnect
(&mut self, a: NodeId, b: NodeId)
bit_gossip/src/graph/mod.rs:431
Methoddisconnect
(&mut self, a: NodeId, b: NodeId)
bit_gossip/src/graph/sequential.rs:285
Methoddisconnect
Remove an edge between node_a and node_b
bit_gossip/src/graph/parallel.rs:290
Functiondraw_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
Methodedges_len
(&self)
bit_gossip/src/graph/mod.rs:282
Methodedges_len
(&self)
bit_gossip/src/graph/sequential.rs:138
Methodedges_len
(&self)
bit_gossip/src/graph/parallel.rs:146
Methodeq
Checks if two bitvecs are equal.
bit_gossip/src/bitvec/atomic_bitvec.rs:159
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
bit_gossip/src/bitvec/bitvec.rs:264
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
bit_gossip/src/bitvec/atomic_bitvec.rs:192
Functionfollow_player
( mut commands: Commands, graph: Query<&MyGraph>, player: Query<&Player, Changed<Player>>, mut
examples/maze/src/bit_gossip.rs:33
Functionfollow_player
( grid: Res<GridDimensions>, mut query: Query<(&Player, &mut Transform), Changed<Player>>, )
examples/maze/src/graphics/player.rs:34
Functionfollow_player
( mut commands: Commands, grid: Res<GridDimensions>, neighbors: Res<Neighbors>, player: Query<
examples/astar_maze/src/plugin.rs:24
Methodfrom_bitvec
(bits: &BitVec, n: usize)
bit_gossip/src/bitvec/atomic_bitvec.rs:108
Methodfrom_usize
(value: usize)
bit_gossip/src/graph/mod.rs:555
Methodget_bit
(&self, index: usize)
bit_gossip/src/bitvec/atomic_bitvec.rs:68
Functionhandle_input
( keyboard_input: Res<ButtonInput<KeyCode>>, grid: Res<GridDimensions>, neighbors: Res<Neighbors>,
examples/maze/src/game/player.rs:18
Functioninsert_character_mesh
(mut commands: Commands, mut meshes: ResMut<Assets<Mesh>>)
examples/maze/src/graphics/mod.rs:22
Functioninsert_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