MCPcopy Create free account

hub / github.com/D0ntPanic/tpscube / functions

Functions881 in github.com/D0ntPanic/tpscube

↓ 686 callersMethodinto
(self)
src/font.rs:29
↓ 202 callersMethodlen
(&self)
lib/src/action.rs:541
↓ 121 callersMethodpush
(&mut self, action: StoredAction)
lib/src/action.rs:549
↓ 97 callersMethodpush
Assumes the points are added in chronological order
src/graph/plot.rs:90
↓ 81 callersMethodas_ref
(&self)
tools/gentables/src/common.rs:98
↓ 80 callersMethoditer
(&self)
lib/src/action.rs:615
↓ 68 callersMethodwidth
Gets the slice width
lib/src/common.rs:1049
↓ 62 callersMethodget
(idx: u16, mv: Move)
lib/src/common.rs:247
↓ 51 callersMethodwrite
(&self, name: &str)
tools/gentables/src/common.rs:86
↓ 45 callersFunctionn_choose_k
(n: usize, k: usize)
lib/src/common.rs:56
↓ 44 callersMethodnext
(&mut self, range: u32)
lib/src/rand.rs:27
↓ 41 callersMethodheight
(&self, ui: &Ui)
src/timer/analysis.rs:48
↓ 38 callersMethodfinish
(self)
lib/src/action_generated.rs:429
↓ 33 callersMethoddo_moves
Perform a sequence of moves
lib/src/algorithms/moves.rs:580
↓ 33 callersMethodmax
(self, rhs: f32)
src/history.rs:103
↓ 33 callersFunctionsolve_time_string
(time: u32)
src/widgets.rs:17
↓ 33 callersMethodto_string
(&self)
lib/src/analysis/cfop.rs:393
↓ 29 callersMethoddo_moves
(&mut self, moves: &[Move])
src/cube.rs:294
↓ 29 callersMethodto_string
(&self)
src/timer/scramble.rs:83
↓ 28 callersMethoddo_move
Perform a single move
lib/src/algorithms/moves.rs:570
↓ 28 callersMethodupdate
(&mut self, old: usize, mv: Move, new: usize)
tools/gentables/src/common.rs:46
↓ 27 callersMethodlocal_commit
(&mut self)
lib/src/history.rs:371
↓ 25 callersMethodas_faces
Gets this cube state in face color format
lib/src/cube2x2x2.rs:179
↓ 25 callersMethodcolor
(&self)
lib/src/common.rs:120
↓ 25 callersMethodmode_label
(&mut self, text: &str, active: bool)
src/widgets.rs:209
↓ 24 callersMethodto_vec
(&self, history: &History)
lib/src/history.rs:1022
↓ 23 callersMethodcenter_color
(&self, face: CubeFace, row: usize, col: usize)
lib/src/cube4x4x4.rs:1044
↓ 23 callersMethodset
(&mut self, idx: usize, mv: Move, value: usize)
tools/gentables/src/common.rs:42
↓ 22 callersMethodsave_settings
(&self, history: &mut History)
src/graph.rs:540
↓ 21 callersMethodmove_
(&self)
lib/src/common.rs:1307
↓ 21 callersMethodsection
(&mut self, text: &str)
src/widgets.rs:222
↓ 21 callersMethodtime
(&self)
lib/src/common.rs:1311
↓ 20 callersMethoddo_move
(&mut self, mv: Move)
src/cube.rs:290
↓ 20 callersMethodinverse
(&self)
lib/src/common.rs:1109
↓ 19 callersMethodrequest_repaint
(&self)
src/main.rs:41
↓ 19 callersMethodsolve
(&self, id: &str)
lib/src/history.rs:267
↓ 18 callersMethodpenalty
(&mut self, solve_id: String, penalty: Penalty)
lib/src/history.rs:340
↓ 17 callersMethodis_last_layer_training
(&self)
lib/src/common.rs:631
↓ 15 callersMethodfinal_time
(&self)
lib/src/common.rs:236
↓ 14 callersMethodpenalty_type
(&self)
lib/src/action_generated.rs:755
↓ 13 callersMethodcanvas_id
id of the canvas html element containing the rendering
src/lib.rs:86
↓ 13 callersMethodface
(&self)
lib/src/common.rs:84
↓ 12 callersMethodadd_edge
( &mut self, pos: [i32; 3], rot: [i32; 2], first: (CubeFace, i32, i32),
src/cube.rs:453
↓ 12 callersMethodface
(&self)
lib/src/algorithms/moves.rs:255
↓ 12 callersMethodidx
(face: CubeFace, row: usize, col: usize)
lib/src/cube2x2x2.rs:321
↓ 11 callersMethodfinish
(self)
lib/src/index_generated.rs:89
↓ 11 callersMethodget
(&self, idx: usize, mv: Move)
tools/gentables/src/common.rs:38
↓ 11 callersMethodlen
(&self)
lib/src/history.rs:1011
↓ 11 callersMethodput
(&mut self, key: &str, value: &[u8])
lib/src/storage.rs:63
↓ 11 callersMethodrotate
Apply a cube rotation based on the axis and number of clockwise rotations.
lib/src/algorithms/moves.rs:452
↓ 11 callersMethodrotate_counted
(&mut self, face: CubeFace, dir: i32)
lib/src/common.rs:1433
↓ 11 callersMethodrotation
Gets the face rotation amount in number of 90 degree clockwise rotations
lib/src/common.rs:986
↓ 10 callersMethodas_pieces
Gets this cube state in piece format
lib/src/cube2x2x2.rs:341
↓ 10 callersMethodcheck_for_error
(&self)
lib/src/bluetooth.rs:426
↓ 10 callersFunctionfactorial
(mut n: usize)
lib/src/common.rs:74
↓ 10 callersMethodnew_state
(&mut self, state: CFOPProgress)
lib/src/analysis/cfop.rs:730
↓ 10 callersMethodopposite
(&self)
lib/src/common.rs:131
↓ 9 callersFunctionbase_visuals
()
src/style.rs:8
↓ 9 callersMethodcontents_type
(&self)
lib/src/action_generated.rs:1641
↓ 9 callersMethodoption
( &self, ui: &mut Ui, selected: &mut Option<SolveType>, solve_type: SolveType,
src/mode.rs:15
↓ 9 callersMethodtranslate
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 callersMethodadd_corner
( &mut self, pos: [i32; 3], rot: [i32; 2], first: (CubeFace, i32, i32),
src/cube.rs:395
↓ 8 callersMethodadjust_angle
(&mut self, dx: f32, dy: f32)
src/cube.rs:334
↓ 8 callersMethodbest_average
(&self, count: usize)
lib/src/common.rs:513
↓ 8 callersFunctioncolor_for_step_index
(idx: usize)
src/widgets.rs:137
↓ 8 callersMethoddyn_clone
(&self)
lib/src/cube2x2x2.rs:300
↓ 8 callersMethodgo_to_move_idx
(&mut self, move_idx: usize)
src/details/solve.rs:132
↓ 8 callersMethodnew_scramble
(&mut self)
src/timer/scramble.rs:145
↓ 8 callersMethodpenalty
(&self)
lib/src/action_generated.rs:759
↓ 8 callersMethodscramble
(&self)
src/timer/scramble.rs:120
↓ 8 callersMethodtransition_count
(&self)
lib/src/analysis/cfop.rs:1316
↓ 8 callersMethodupdate_id
(&self)
lib/src/history.rs:275
↓ 7 callersMethodaverage
(&self)
lib/src/common.rs:332
↓ 7 callersMethodbad_bluetooth_move
(&mut self, mv: Move)
src/timer/scramble.rs:246
↓ 7 callersMethodcmp
(&self, other: &Self)
lib/src/common.rs:301
↓ 7 callersMethodcolor
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 callersMethoddelete
(&self, storage: &DeferredStorage)
lib/src/action.rs:835
↓ 7 callersMethoddraw
(&self, ui: &mut Ui, rect: Rect)
src/details/bar.rs:169
↓ 7 callersMethodnew_action
(&mut self, action: StoredAction)
lib/src/history.rs:306
↓ 7 callersMethodpartial_cmp
(&self, other: &Self)
lib/src/common.rs:292
↓ 7 callersMethodphase_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 callersMethodsave_index
(&self, storage: &DeferredStorage)
lib/src/action.rs:594
↓ 7 callersMethodstatus
(&self)
src/bluetooth.rs:67
↓ 7 callersMethodupdate_colors
(&mut self)
src/cube.rs:549
↓ 7 callersMethodvert_range
(&mut self, piece: (CubeFace, i32, i32))
src/cube.rs:352
↓ 6 callersMethodadd_center
(&mut self, pos: [i32; 3], rot: [i32; 3], piece: (CubeFace, i32, i32))
src/cube.rs:504
↓ 6 callersMethodcolor_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 callersMethodcontents
(&self)
lib/src/action_generated.rs:1645
↓ 6 callersMethoddecrypt
(&self, value: &[u8])
lib/src/bluetooth/gan.rs:336
↓ 6 callersMethoditer
(&self)
lib/src/history.rs:261
↓ 6 callersMethodpaint_cube
( &mut self, ctxt: &CtxRef, gl: &mut GlContext<'_, '_>, rect: &Rect, )
src/timer.rs:595
↓ 6 callersMethodpresent
(&self)
src/timer/analysis.rs:44
↓ 6 callersMethodrequest_max
(&mut self)
src/framerate.rs:142
↓ 6 callersMethodresolve_action
(&mut self, action: &StoredAction, next_update_id: &mut u64)
lib/src/history.rs:884
↓ 6 callersMethodsession
(&self)
lib/src/action_generated.rs:739
↓ 6 callersMethodupdate_as_solution
(&mut self, new: usize)
tools/gentables/src/common.rs:130
↓ 5 callersMethodactive
(&self)
src/bluetooth.rs:51
↓ 5 callersMethodadd_session
(&mut self, session: flatbuffers::WIPOffset<&'b str>)
lib/src/action_generated.rs:884
↓ 5 callersFunctioncontent_visuals
()
src/style.rs:103
↓ 5 callersMethodcorner_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