rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off
crates/cre8-virtual-harness/src/authoring.rs
Items
const AUTHORING_DOCUMENT_SCHEMA const AUTHORING_DOCUMENT_VERSION const AUTHORING_COMMAND_SCHEMA const AUTHORING_RECEIPT_SCHEMA const AUTHORING_SNAPSHOT_SCHEMA const AUTHORING_DIGEST_DOMAIN const AUTHORING_MAX_ENTITIES const AUTHORING_HISTORY_LIMIT const AUTHORING_MAX_ID_BYTES const AUTHORING_MAX_LABEL_BYTES enum AuthoringPrimitive impl AuthoringPrimitive enum AuthoringGeometry impl AuthoringGeometry struct AuthoringTransform impl Default for AuthoringTransform impl AuthoringTransform struct SnapSettings impl Default for SnapSettings impl SnapSettings struct AuthoringMaterial impl Default for AuthoringMaterial impl AuthoringMaterial struct AuthoringEntity impl AuthoringEntity struct AuthoringDocument impl Default for AuthoringDocument impl AuthoringDocument enum AuthoringCommand impl AuthoringCommand struct AuthoringScript struct AuthoringReceipt struct AuthoringSnapshot enum AuthoringError impl Display for AuthoringError impl Error for AuthoringError impl AuthoringError struct Change impl Change struct AuthoringSessionCore impl Default for AuthoringSessionCore impl AuthoringSessionCore const HEX
Functions
By call-graph weight (PageRank; 1.0 is the average function). 87 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| identity_rotationsrc/authoring.rs:151 | fn | 3 | 1 | 2 | 0 | 4.6 | |
| quat_normalizesrc/authoring.rs:1192 | fn | 7 | 3 | 4 | 1 | 3.9 | |
| validate_tokensrc/authoring.rs:1115 | fn | 19 | 5 | 5 | 0 | 2.4 | |
| AuthoringTransform::defaultsrc/authoring.rs:160 | trait impl | 7 | 1 | 7 | 2 | 1.9 | |
| AuthoringSessionCore::newsrc/authoring.rs:791 | method | 10 | 1 | 4 | 0 | 1.8 | |
| AuthoringDocument::newsrc/authoring.rs:460 | method | 11 | 1 | 5 | 3 | 1.8 | |
| unit_scalesrc/authoring.rs:155 | fn | 3 | 1 | 3 | 0 | 1.6 | |
| AuthoringSessionCore::defaultsrc/authoring.rs:785 | trait impl | 3 | 1 | 10 | 2 | 1.5 | |
| quat_from_euler_xyzsrc/authoring.rs:1201 | fn | 11 | 1 | 4 | 1 | 1.5 | |
| write_canonical_jsonsrc/authoring.rs:1148 | fn | 41 | 11 | 2 | 0 | 1.4 | |
| AuthoringDocument::index_ofsrc/authoring.rs:476 | method | 3 | 1 | 2 | 0 | 1.4 | |
| AuthoringEntity::scaled_extentsrc/authoring.rs:386 | method | 7 | 1 | 3 | 0 | 1.3 | |
| AuthoringDocument::entitysrc/authoring.rs:472 | method | 3 | 1 | 4 | 0 | 1.3 | |
| AuthoringDocument::from_jsonsrc/authoring.rs:482 | method | 5 | 1 | 4 | 0 | 1.2 | |
| Change::entity_idsrc/authoring.rs:764 | method | 7 | 1 | 1 | 0 | 1.2 | |
| AuthoringSessionCore::documentsrc/authoring.rs:807 | method | 3 | 1 | 8 | 0 | 1.2 | |
| quat_to_euler_xyzsrc/authoring.rs:1215 | fn | 16 | 2 | 3 | 1 | 1.2 | |
| boxedsrc/authoring.rs:1251 | fn | 6 | 1 | 7 | 3 | 1.1 | |
| default_colorsrc/authoring.rs:303 | fn | 3 | 1 | 1 | 0 | 1.1 | |
| AuthoringDocument::defaultsrc/authoring.rs:454 | trait impl | 3 | 1 | 1 | 1 | 1.1 | |
| AuthoringGeometry::primitivesrc/authoring.rs:114 | method | 3 | 1 | 5 | 0 | 1.1 | |
| AuthoringSessionCore::digestsrc/authoring.rs:827 | method | 3 | 1 | 2 | 0 | 1 | |
| document_schemasrc/authoring.rs:441 | fn | 3 | 1 | 1 | 0 | 1 | |
| document_versionsrc/authoring.rs:445 | fn | 3 | 1 | 1 | 0 | 1 | |
| first_serialsrc/authoring.rs:449 | fn | 3 | 1 | 1 | 0 | 1 | |
| AuthoringSessionCore::applysrc/authoring.rs:855 | method | 67 | 8 | 1 | 3 | 1 | |
| AuthoringDocument::refresh_versionsrc/authoring.rs:560 | method | 3 | 3 | 2 | 0 | 1 | |
| AuthoringTransform::atsrc/authoring.rs:170 | method | 6 | 1 | 3 | 1 | 0.9 | |
| AuthoringCommand::createsrc/authoring.rs:658 | method | 10 | 1 | 3 | 0 | 0.9 | |
| AuthoringTransform::with_scalesrc/authoring.rs:183 | method | 4 | 1 | 1 | 0 | 0.9 | |
| AuthoringCommand::from_jsonsrc/authoring.rs:669 | method | 3 | 1 | 1 | 0 | 0.9 | |
| AuthoringDocument::canonical_jsonsrc/authoring.rs:540 | method | 10 | 1 | 3 | 1 | 0.9 | |
| hex_lowersrc/authoring.rs:1135 | fn | 9 | 2 | 2 | 0 | 0.9 | |
| AuthoringTransform::yaw_radianssrc/authoring.rs:194 | method | 6 | 1 | 2 | 1 | 0.8 | |
| AuthoringSessionCore::forward_changesrc/authoring.rs:936 | method | 145 | 18 | 2 | 6 | 0.8 | |
| AuthoringSessionCore::apply_changesrc/authoring.rs:1088 | method | 21 | 7 | 2 | 2 | 0.8 | |
| validate_entity_idsrc/authoring.rs:1111 | fn | 3 | 1 | 2 | 1 | 0.8 | |
| AuthoringDocument::to_jsonsrc/authoring.rs:488 | method | 4 | 1 | 3 | 0 | 0.8 | |
| AuthoringMaterial::defaultsrc/authoring.rs:308 | trait impl | 7 | 1 | 2 | 1 | 0.8 | |
| AuthoringSessionCore::undo_depthsrc/authoring.rs:819 | method | 3 | 1 | 3 | 0 | 0.7 | |
| AuthoringSessionCore::opensrc/authoring.rs:803 | method | 3 | 1 | 2 | 1 | 0.7 | |
| AuthoringSessionCore::snapshotsrc/authoring.rs:831 | method | 12 | 1 | 1 | 0 | 0.7 | |
| AuthoringTransform::with_yawsrc/authoring.rs:178 | method | 4 | 1 | 1 | 1 | 0.6 | |
| snap_valuesrc/authoring.rs:282 | fn | 7 | 3 | 1 | 0 | 0.6 | |
| auto_id_serialsrc/authoring.rs:579 | fn | 7 | 3 | 1 | 0 | 0.6 | |
| AuthoringSessionCore::revisionsrc/authoring.rs:811 | method | 3 | 1 | 2 | 0 | 0.6 | |
| AuthoringDocument::mint_idsrc/authoring.rs:564 | method | 12 | 3 | 1 | 1 | 0.6 | |
| AuthoringSessionCore::requiresrc/authoring.rs:1082 | method | 5 | 1 | 1 | 1 | 0.6 | |
| SnapSettings::defaultsrc/authoring.rs:246 | trait impl | 7 | 1 | 1 | 0 | 0.6 | |
| AuthoringGeometry::creator_propsrc/authoring.rs:118 | method | 6 | 1 | 1 | 0 | 0.6 | |
| AuthoringEntity::newsrc/authoring.rs:354 | method | 10 | 1 | 1 | 3 | 0.6 | |
| AuthoringSessionCore::run_scriptsrc/authoring.rs:925 | method | 10 | 2 | 1 | 1 | 0.6 | |
| AuthoringSessionCore::sequencesrc/authoring.rs:815 | method | 3 | 1 | 1 | 0 | 0.6 | |
| AuthoringSessionCore::replace_documentsrc/authoring.rs:846 | method | 7 | 1 | 1 | 0 | 0.6 | |
| AuthoringError::codesrc/authoring.rs:741 | method | 10 | 6 | 1 | 0 | 0.5 | |
| AuthoringSessionCore::redo_depthsrc/authoring.rs:823 | method | 3 | 1 | 1 | 0 | 0.5 | |
| AuthoringPrimitive::renderablesrc/authoring.rs:75 | method | 8 | 4 | 0 | 0 | 0.5 | |
| AuthoringPrimitive::parsesrc/authoring.rs:84 | method | 9 | 5 | 0 | 0 | 0.5 | |
| AuthoringGeometry::validatesrc/authoring.rs:125 | method | 12 | 3 | 0 | 1 | 0.5 | |
| AuthoringTransform::with_uniform_scalesrc/authoring.rs:188 | method | 3 | 1 | 0 | 1 | 0.5 | |
| AuthoringTransform::euler_xyzsrc/authoring.rs:202 | method | 3 | 1 | 0 | 1 | 0.5 | |
| AuthoringTransform::sanitizedsrc/authoring.rs:208 | method | 20 | 5 | 0 | 1 | 0.5 | |
| SnapSettings::applysrc/authoring.rs:262 | method | 18 | 2 | 0 | 3 | 0.5 | |
| AuthoringMaterial::sanitizedsrc/authoring.rs:318 | method | 16 | 4 | 0 | 0 | 0.5 | |
| AuthoringEntity::with_labelsrc/authoring.rs:365 | method | 4 | 1 | 0 | 0 | 0.5 | |
| AuthoringEntity::with_transformsrc/authoring.rs:370 | method | 4 | 1 | 0 | 0 | 0.5 | |
| AuthoringEntity::with_materialsrc/authoring.rs:375 | method | 4 | 1 | 0 | 0 | 0.5 | |
| AuthoringEntity::with_extentsrc/authoring.rs:380 | method | 4 | 1 | 0 | 0 | 0.5 | |
| AuthoringEntity::sanitizedsrc/authoring.rs:394 | method | 25 | 8 | 0 | 2 | 0.5 | |
| AuthoringDocument::validatedsrc/authoring.rs:496 | method | 41 | 6 | 0 | 3 | 0.5 | |
| AuthoringDocument::digestsrc/authoring.rs:552 | method | 7 | 1 | 0 | 2 | 0.5 | |
| AuthoringCommand::kindsrc/authoring.rs:643 | method | 14 | 10 | 0 | 0 | 0.5 | |
| AuthoringError::fmtsrc/authoring.rs:725 | trait impl | 10 | 6 | 0 | 0 | 0.5 | |
| xyz_rotations_round_trip_and_grid_aligned_snap_is_idempotentsrc/authoring.rs:1237 | fn | 13 | 2 | 0 | 4 | 0.5 | |
| create_mints_sequential_ids_and_receipts_chain_digestssrc/authoring.rs:1259 | fn | 12 | 1 | 0 | 3 | 0.5 | |
| transform_label_material_delete_and_history_round_tripsrc/authoring.rs:1273 | fn | 64 | 3 | 0 | 8 | 0.5 | |
| duplicate_offsets_copy_and_undo_removes_itsrc/authoring.rs:1339 | fn | 20 | 1 | 0 | 4 | 0.5 | |
| rejects_bad_ids_unknown_targets_and_non_finite_valuessrc/authoring.rs:1361 | fn | 60 | 1 | 0 | 7 | 0.5 | |
| snapping_lands_on_the_grid_on_every_channelsrc/authoring.rs:1423 | fn | 20 | 1 | 0 | 2 | 0.5 | |
| yaw_round_trips_through_the_quaternionsrc/authoring.rs:1445 | fn | 7 | 2 | 0 | 3 | 0.5 | |
| canonical_json_is_key_sorted_id_ordered_and_digest_stablesrc/authoring.rs:1454 | fn | 22 | 1 | 0 | 5 | 0.5 | |
| document_json_round_trips_and_validation_raises_next_serialsrc/authoring.rs:1478 | fn | 16 | 1 | 0 | 6 | 0.5 | |
| documents_reject_wrong_schema_newer_version_and_duplicate_idssrc/authoring.rs:1496 | fn | 13 | 1 | 0 | 1 | 0.5 | |
| commands_deserialize_from_tagged_json_and_deny_unknown_fieldssrc/authoring.rs:1511 | fn | 15 | 1 | 0 | 1 | 0.5 | |
| script_replay_is_deterministic_and_reports_failure_indexsrc/authoring.rs:1528 | fn | 33 | 1 | 0 | 5 | 0.5 | |
| replace_document_clears_history_and_bumps_revisionsrc/authoring.rs:1563 | fn | 9 | 1 | 0 | 7 | 0.5 | |
| history_is_cappedsrc/authoring.rs:1574 | fn | 7 | 2 | 0 | 3 | 0.5 |
Source not readable from this process.