1 viewer
rust 1,849,384 · typescript 232,426 · javascript 131,078 · python 19,227 · 6,366 files · digest 815dcbacab85 · built in 1.4 s · crystals off
crates/cre8-app-view-lib-api/src/view_node/mod.rs
Items
const VIEW_NODE_KIND struct ViewNode enum ViewNodeKind impl Default for ViewNodeKind enum ViewChild impl ViewChild impl ViewNode impl From for ViewChild impl From for ViewChild impl From for ViewChild
Functions
By call-graph weight (PageRank; 1.0 is the average function). 58 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| ViewNode::prop_strsrc/view_node/mod.rs:148 | method | 3 | 1 | 274 | 0 | 97.4 | |
| ViewNode::with_propsrc/view_node/mod.rs:93 | method | 4 | 1 | 341 | 0 | 87.8 | |
| ViewNode::newsrc/view_node/mod.rs:82 | method | 10 | 1 | 137 | 0 | 33.3 | |
| ViewNode::with_childsrc/view_node/mod.rs:123 | method | 4 | 1 | 161 | 0 | 27.9 | |
| ViewNode::from_jsonsrc/view_node/mod.rs:141 | method | 6 | 1 | 45 | 2 | 22.2 | |
| ViewChild::as_textsrc/view_node/mod.rs:71 | method | 8 | 4 | 12 | 0 | 12.9 | |
| behavior_contracts_are_consistentsrc/view_node/mod.rs:157 | fn | 3 | 2 | 1 | 2 | 9.9 | |
| declared_child_nodes_are_validsrc/view_node/mod.rs:191 | fn | 12 | 3 | 1 | 1 | 9.9 | |
| ViewNode::prop_arraysrc/view_node/mod.rs:152 | method | 3 | 1 | 15 | 0 | 4.8 | |
| state_contract_is_consistentsrc/view_node/mod.rs:161 | fn | 12 | 2 | 1 | 1 | 4.7 | |
| lifecycle_contract_is_consistentsrc/view_node/mod.rs:174 | fn | 12 | 2 | 1 | 1 | 4.7 | |
| ViewNode::with_childrensrc/view_node/mod.rs:128 | method | 8 | 1 | 17 | 0 | 3 | |
| raw_htmlsrc/view_node/mod.rs:230 | fn | 3 | 1 | 6 | 2 | 1.4 | |
| ViewNode::with_statesrc/view_node/mod.rs:102 | method | 6 | 1 | 6 | 0 | 1.2 | |
| ViewNode::with_lifecyclesrc/view_node/mod.rs:111 | method | 6 | 1 | 2 | 0 | 0.7 | |
| rowsrc/view_node/mod.rs:352 | fn | 7 | 2 | 2 | 0 | 0.6 | |
| ViewNodeKind::defaultsrc/view_node/mod.rs:43 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| ViewChild::textsrc/view_node/mod.rs:63 | method | 3 | 1 | 0 | 0 | 0.5 | |
| ViewChild::nodesrc/view_node/mod.rs:67 | method | 3 | 1 | 0 | 0 | 0.5 | |
| ViewNode::with_propssrc/view_node/mod.rs:118 | method | 4 | 1 | 0 | 0 | 0.5 | |
| ViewNode::to_jsonsrc/view_node/mod.rs:137 | method | 3 | 1 | 0 | 0 | 0.5 | |
| ViewChild::fromsrc/view_node/mod.rs:205 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| ViewChild::fromsrc/view_node/mod.rs:211 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| ViewChild::fromsrc/view_node/mod.rs:217 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| table_builder_emits_canonical_shapesrc/view_node/mod.rs:361 | fn | 22 | 1 | 0 | 7 | 0.5 | |
| table_view_round_trips_through_jsonsrc/view_node/mod.rs:385 | fn | 14 | 1 | 0 | 6 | 0.5 | |
| table_view_infers_columns_from_first_rowsrc/view_node/mod.rs:401 | fn | 18 | 1 | 0 | 2 | 0.5 | |
| view_child_text_round_tripsrc/view_node/mod.rs:421 | fn | 7 | 1 | 0 | 4 | 0.5 | |
| table_builder_with_data_source_emits_data_fieldsrc/view_node/mod.rs:430 | fn | 17 | 1 | 0 | 2 | 0.5 | |
| key_value_builder_emits_itemssrc/view_node/mod.rs:449 | fn | 19 | 1 | 0 | 4 | 0.5 | |
| stat_builder_emits_label_value_detail_intentsrc/view_node/mod.rs:470 | fn | 10 | 1 | 0 | 1 | 0.5 | |
| card_builder_emits_title_status_badge_and_extrasrc/view_node/mod.rs:482 | fn | 18 | 1 | 0 | 3 | 0.5 | |
| tabs_builder_round_tripssrc/view_node/mod.rs:502 | fn | 17 | 1 | 0 | 6 | 0.5 | |
| stat_builder_data_source_emits_data_not_valuesrc/view_node/mod.rs:521 | fn | 19 | 1 | 0 | 1 | 0.5 | |
| stat_builder_title_aliases_labelsrc/view_node/mod.rs:542 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| stat_builder_emits_id_when_setsrc/view_node/mod.rs:549 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| banner_builder_round_trips_intentsrc/view_node/mod.rs:558 | fn | 13 | 1 | 0 | 3 | 0.5 | |
| list_builder_renders_descriptors_as_list_itemssrc/view_node/mod.rs:573 | fn | 17 | 1 | 0 | 2 | 0.5 | |
| form_builder_emits_canonical_shapesrc/view_node/mod.rs:592 | fn | 28 | 1 | 0 | 5 | 0.5 | |
| form_builder_default_method_is_postsrc/view_node/mod.rs:622 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| form_builder_skips_required_when_falsesrc/view_node/mod.rs:630 | fn | 9 | 1 | 0 | 3 | 0.5 | |
| form_view_round_trips_through_jsonsrc/view_node/mod.rs:641 | fn | 32 | 1 | 0 | 7 | 0.5 | |
| field_descriptor_label_or_name_falls_back_to_namesrc/view_node/mod.rs:675 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| action_builder_emits_canonical_shapesrc/view_node/mod.rs:683 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| action_builder_routes_to_one_target_onlysrc/view_node/mod.rs:693 | fn | 10 | 1 | 0 | 1 | 0.5 | |
| media_player_builder_carries_metadatasrc/view_node/mod.rs:705 | fn | 9 | 1 | 0 | 2 | 0.5 | |
| raw_html_helper_emits_canonical_shapesrc/view_node/mod.rs:716 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| select_field_with_on_change_round_tripssrc/view_node/mod.rs:724 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| with_state_dual_writes_named_field_and_legacy_propsrc/view_node/mod.rs:744 | fn | 10 | 1 | 0 | 3 | 0.5 | |
| with_lifecycle_dual_writes_named_field_and_legacy_propsrc/view_node/mod.rs:756 | fn | 10 | 1 | 0 | 4 | 0.5 | |
| view_node_without_state_omits_named_field_from_jsonsrc/view_node/mod.rs:768 | fn | 8 | 1 | 0 | 1 | 0.5 | |
| view_node_with_state_emits_named_field_in_jsonsrc/view_node/mod.rs:778 | fn | 14 | 1 | 0 | 3 | 0.5 | |
| view_node_round_trips_named_state_field_through_jsonsrc/view_node/mod.rs:794 | fn | 10 | 1 | 0 | 3 | 0.5 | |
| named_only_and_legacy_only_behavior_contracts_are_validsrc/view_node/mod.rs:806 | fn | 24 | 1 | 0 | 3 | 0.5 | |
| equal_dual_behavior_contracts_are_valid_even_when_legacy_is_json_textsrc/view_node/mod.rs:832 | fn | 17 | 1 | 0 | 3 | 0.5 | |
| conflicting_dual_contracts_are_rejected_recursivelysrc/view_node/mod.rs:851 | fn | 17 | 1 | 0 | 1 | 0.5 | |
| conflicting_dual_lifecycle_contracts_are_rejectedsrc/view_node/mod.rs:870 | fn | 11 | 1 | 0 | 1 | 0.5 | |
| malformed_declared_child_cannot_fall_through_to_othersrc/view_node/mod.rs:883 | fn | 10 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.