Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/D0ntPanic/tpscube
/ functions
Functions
881 in github.com/D0ntPanic/tpscube
⨍
Functions
881
◇
Types & classes
294
↓ 686 callers
Method
into
(self)
src/font.rs:29
↓ 202 callers
Method
len
(&self)
lib/src/action.rs:541
↓ 121 callers
Method
push
(&mut self, action: StoredAction)
lib/src/action.rs:549
↓ 97 callers
Method
push
Assumes the points are added in chronological order
src/graph/plot.rs:90
↓ 81 callers
Method
as_ref
(&self)
tools/gentables/src/common.rs:98
↓ 80 callers
Method
iter
(&self)
lib/src/action.rs:615
↓ 68 callers
Method
width
Gets the slice width
lib/src/common.rs:1049
↓ 62 callers
Method
get
(idx: u16, mv: Move)
lib/src/common.rs:247
↓ 51 callers
Method
write
(&self, name: &str)
tools/gentables/src/common.rs:86
↓ 45 callers
Function
n_choose_k
(n: usize, k: usize)
lib/src/common.rs:56
↓ 44 callers
Method
next
(&mut self, range: u32)
lib/src/rand.rs:27
↓ 41 callers
Method
height
(&self, ui: &Ui)
src/timer/analysis.rs:48
↓ 38 callers
Method
finish
(self)
lib/src/action_generated.rs:429
↓ 33 callers
Method
do_moves
Perform a sequence of moves
lib/src/algorithms/moves.rs:580
↓ 33 callers
Method
max
(self, rhs: f32)
src/history.rs:103
↓ 33 callers
Function
solve_time_string
(time: u32)
src/widgets.rs:17
↓ 33 callers
Method
to_string
(&self)
lib/src/analysis/cfop.rs:393
↓ 29 callers
Method
do_moves
(&mut self, moves: &[Move])
src/cube.rs:294
↓ 29 callers
Method
to_string
(&self)
src/timer/scramble.rs:83
↓ 28 callers
Method
do_move
Perform a single move
lib/src/algorithms/moves.rs:570
↓ 28 callers
Method
update
(&mut self, old: usize, mv: Move, new: usize)
tools/gentables/src/common.rs:46
↓ 27 callers
Method
local_commit
(&mut self)
lib/src/history.rs:371
↓ 25 callers
Method
as_faces
Gets this cube state in face color format
lib/src/cube2x2x2.rs:179
↓ 25 callers
Method
color
(&self)
lib/src/common.rs:120
↓ 25 callers
Method
mode_label
(&mut self, text: &str, active: bool)
src/widgets.rs:209
↓ 24 callers
Method
to_vec
(&self, history: &History)
lib/src/history.rs:1022
↓ 23 callers
Method
center_color
(&self, face: CubeFace, row: usize, col: usize)
lib/src/cube4x4x4.rs:1044
↓ 23 callers
Method
set
(&mut self, idx: usize, mv: Move, value: usize)
tools/gentables/src/common.rs:42
↓ 22 callers
Method
save_settings
(&self, history: &mut History)
src/graph.rs:540
↓ 21 callers
Method
move_
(&self)
lib/src/common.rs:1307
↓ 21 callers
Method
section
(&mut self, text: &str)
src/widgets.rs:222
↓ 21 callers
Method
time
(&self)
lib/src/common.rs:1311
↓ 20 callers
Method
do_move
(&mut self, mv: Move)
src/cube.rs:290
↓ 20 callers
Method
inverse
(&self)
lib/src/common.rs:1109
↓ 19 callers
Method
request_repaint
(&self)
src/main.rs:41
↓ 19 callers
Method
solve
(&self, id: &str)
lib/src/history.rs:267
↓ 18 callers
Method
penalty
(&mut self, solve_id: String, penalty: Penalty)
lib/src/history.rs:340
↓ 17 callers
Method
is_last_layer_training
(&self)
lib/src/common.rs:631
↓ 15 callers
Method
final_time
(&self)
lib/src/common.rs:236
↓ 14 callers
Method
penalty_type
(&self)
lib/src/action_generated.rs:755
↓ 13 callers
Method
canvas_id
id of the canvas html element containing the rendering
src/lib.rs:86
↓ 13 callers
Method
face
(&self)
lib/src/common.rs:84
↓ 12 callers
Method
add_edge
( &mut self, pos: [i32; 3], rot: [i32; 2], first: (CubeFace, i32, i32),
src/cube.rs:453
↓ 12 callers
Method
face
(&self)
lib/src/algorithms/moves.rs:255
↓ 12 callers
Method
idx
(face: CubeFace, row: usize, col: usize)
lib/src/cube2x2x2.rs:321
↓ 11 callers
Method
finish
(self)
lib/src/index_generated.rs:89
↓ 11 callers
Method
get
(&self, idx: usize, mv: Move)
tools/gentables/src/common.rs:38
↓ 11 callers
Method
len
(&self)
lib/src/history.rs:1011
↓ 11 callers
Method
put
(&mut self, key: &str, value: &[u8])
lib/src/storage.rs:63
↓ 11 callers
Method
rotate
Apply a cube rotation based on the axis and number of clockwise rotations.
lib/src/algorithms/moves.rs:452
↓ 11 callers
Method
rotate_counted
(&mut self, face: CubeFace, dir: i32)
lib/src/common.rs:1433
↓ 11 callers
Method
rotation
Gets the face rotation amount in number of 90 degree clockwise rotations
lib/src/common.rs:986
↓ 10 callers
Method
as_pieces
Gets this cube state in piece format
lib/src/cube2x2x2.rs:341
↓ 10 callers
Method
check_for_error
(&self)
lib/src/bluetooth.rs:426
↓ 10 callers
Function
factorial
(mut n: usize)
lib/src/common.rs:74
↓ 10 callers
Method
new_state
(&mut self, state: CFOPProgress)
lib/src/analysis/cfop.rs:730
↓ 10 callers
Method
opposite
(&self)
lib/src/common.rs:131
↓ 9 callers
Function
base_visuals
()
src/style.rs:8
↓ 9 callers
Method
contents_type
(&self)
lib/src/action_generated.rs:1641
↓ 9 callers
Method
option
( &self, ui: &mut Ui, selected: &mut Option<SolveType>, solve_type: SolveType,
src/mode.rs:15
↓ 9 callers
Method
translate
Translates a face accounting for any past rotation of the cube. The result is the face representing the original position of the face before any rotat
lib/src/algorithms/moves.rs:447
↓ 8 callers
Method
add_corner
( &mut self, pos: [i32; 3], rot: [i32; 2], first: (CubeFace, i32, i32),
src/cube.rs:395
↓ 8 callers
Method
adjust_angle
(&mut self, dx: f32, dy: f32)
src/cube.rs:334
↓ 8 callers
Method
best_average
(&self, count: usize)
lib/src/common.rs:513
↓ 8 callers
Function
color_for_step_index
(idx: usize)
src/widgets.rs:137
↓ 8 callers
Method
dyn_clone
(&self)
lib/src/cube2x2x2.rs:300
↓ 8 callers
Method
go_to_move_idx
(&mut self, move_idx: usize)
src/details/solve.rs:132
↓ 8 callers
Method
new_scramble
(&mut self)
src/timer/scramble.rs:145
↓ 8 callers
Method
penalty
(&self)
lib/src/action_generated.rs:759
↓ 8 callers
Method
scramble
(&self)
src/timer/scramble.rs:120
↓ 8 callers
Method
transition_count
(&self)
lib/src/analysis/cfop.rs:1316
↓ 8 callers
Method
update_id
(&self)
lib/src/history.rs:275
↓ 7 callers
Method
average
(&self)
lib/src/common.rs:332
↓ 7 callers
Method
bad_bluetooth_move
(&mut self, mv: Move)
src/timer/scramble.rs:246
↓ 7 callers
Method
cmp
(&self, other: &Self)
lib/src/common.rs:301
↓ 7 callers
Method
color
Gets the color for a given place on the cube. For a given `face`, the `row` and `col` represent the zero-indexed position on the face to be accessed.
lib/src/cube4x4x4.rs:1767
↓ 7 callers
Method
delete
(&self, storage: &DeferredStorage)
lib/src/action.rs:835
↓ 7 callers
Method
draw
(&self, ui: &mut Ui, rect: Rect)
src/details/bar.rs:169
↓ 7 callers
Method
new_action
(&mut self, action: StoredAction)
lib/src/history.rs:306
↓ 7 callers
Method
partial_cmp
(&self, other: &Self)
lib/src/common.rs:292
↓ 7 callers
Method
phase_2_and_3_red_orange_centers_index
Find the positions of the red and orange centers. It is known at this point that there are only 8 valid locations for these centers, as they were plac
lib/src/cube4x4x4.rs:1150
↓ 7 callers
Method
save_index
(&self, storage: &DeferredStorage)
lib/src/action.rs:594
↓ 7 callers
Method
status
(&self)
src/bluetooth.rs:67
↓ 7 callers
Method
update_colors
(&mut self)
src/cube.rs:549
↓ 7 callers
Method
vert_range
(&mut self, piece: (CubeFace, i32, i32))
src/cube.rs:352
↓ 6 callers
Method
add_center
(&mut self, pos: [i32; 3], rot: [i32; 3], piece: (CubeFace, i32, i32))
src/cube.rs:504
↓ 6 callers
Method
color_by_idx
Gets the color for a given place on the cube. For a given `face`, the `row` and `col` represent the zero-indexed position on the face to be accessed.
lib/src/cube3x3x3.rs:1192
↓ 6 callers
Method
contents
(&self)
lib/src/action_generated.rs:1645
↓ 6 callers
Method
decrypt
(&self, value: &[u8])
lib/src/bluetooth/gan.rs:336
↓ 6 callers
Method
iter
(&self)
lib/src/history.rs:261
↓ 6 callers
Method
paint_cube
( &mut self, ctxt: &CtxRef, gl: &mut GlContext<'_, '_>, rect: &Rect, )
src/timer.rs:595
↓ 6 callers
Method
present
(&self)
src/timer/analysis.rs:44
↓ 6 callers
Method
request_max
(&mut self)
src/framerate.rs:142
↓ 6 callers
Method
resolve_action
(&mut self, action: &StoredAction, next_update_id: &mut u64)
lib/src/history.rs:884
↓ 6 callers
Method
session
(&self)
lib/src/action_generated.rs:739
↓ 6 callers
Method
update_as_solution
(&mut self, new: usize)
tools/gentables/src/common.rs:130
↓ 5 callers
Method
active
(&self)
src/bluetooth.rs:51
↓ 5 callers
Method
add_session
(&mut self, session: flatbuffers::WIPOffset<&'b str>)
lib/src/action_generated.rs:884
↓ 5 callers
Function
content_visuals
()
src/style.rs:103
↓ 5 callers
Method
corner_orientation_index
Index for the corner orientations is a simple base 3 integer representation. The zero index is the solved state. Note that the last corner is not repr
lib/src/cube2x2x2.rs:150
next →
1–100 of 881, ranked by callers