Skip to content
1 viewer

rust 1,880,524 · typescript 232,735 · javascript 134,853 · python 22,539 · 6,529 files · digest 0753164a9f64 · built in 15.6 s · crystals off

validate_ruleset_move

cre8_app_chess::connection::moves::validate_ruleset_move

fn · cre8-app-chess · crates/cre8-app-chess/src/connection/moves.rs:5244 pub(crate)

22lines
2cyclomatic
0max nesting
11statements
4? exits
5params
1callers
8callees
0.5 (p39)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

Callers left, callees right, two hops each way (1 direct callers, 8 direct callees; the heaviest shown). Dashed edges are method calls resolved by name alone.

name · 1 sitename · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitemethod · 1 siteself · 1 sitename · 1 siteref · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitepath · 1 sitename · 1 sitename · 1 sitemethod · 1 sitemove_pieceapp-chess · cc 1cre8_app_chess::connection::moves::move_pieceprepare_move_submissionapp-chess · cc 11cre8_app_chess::connection::moves::prepare_move_submissionvalidate_ruleset_moveapp-chess · cc 2cre8_app_chess::connection::moves::validate_ruleset_moveGame::piece_onapp-chess · cc 1cre8_app_chess::special_moves_tests::Game::piece_onparse_fenapp-chess · cc 5cre8_app_chess::rules::parse_fenfind_legal_moveapp-chess · cc 5cre8_app_chess::rules::find_legal_movefen_from_projectionapp-chess · cc 2cre8_app_chess::fen_projection::fen_from_projectionoutcomeapp-chess · cc 1cre8_app_chess::rules::outcomeplayapp-chess · cc 1cre8_app_chess::rules::playparse_ruleset_squaresapp-chess · cc 1cre8_app_chess::connection::moves::parse_ruleset_squaresvalidate_ruleset_source_squ…app-chess · cc 1cre8_app_chess::connection::moves::validate_ruleset_source_squareGame::stateapp-chess · cc 1cre8_app_chess::special_moves_tests::Game::stateoutcome_inapp-chess · cc 12cre8_app_chess::rules::outcome_innext_turnapp-chess · cc 2cre8_app_chess::store::next_turnlegal_movesapp-chess · cc 1cre8_app_chess::rules::legal_movespromotion_roleapp-chess · cc 5cre8_app_chess::rules::promotion_rolefen_board_placementapp-chess · cc 3cre8_app_chess::connection::fen_board_placementcastling_rights_from_projec…app-chess · cc 18cre8_app_chess::connection::castling_rights_from_projectionen_passant_targetapp-chess · cc 5cre8_app_chess::fen_projection::en_passant_targetprojected_fen_boardapp-chess · cc 2cre8_app_chess::fen_projection::projected_fen_boardvalidate_projected_piece_ma…app-chess · cc 3cre8_app_chess::connection::moves::validate_projected_piece_matches_board

Control flow

Source not readable from this process.

Callers 1

Callees 8

Source not readable from this process.