Skip to content
1 viewer

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-app-proposal/src/model.rs

cre8-app-proposal · module model · src · 297 lines (162 code, 122 comment) · sha 2679f5280541708b

Items

enum ProposalScope impl ProposalScope struct ProposalAlternative enum WeightingScheme impl Default for WeightingScheme enum TallyStrategy impl TallyStrategy enum ProposalStatus enum VoteChoice struct VoteVertex struct ProposalVertex enum ProposalError

Functions

By call-graph weight (PageRank; 1.0 is the average function). 7 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
TallyStrategy::simple_majoritysrc/model.rs:134method311301.6
ProposalScope::tagsrc/model.rs:27method73100.8
TallyStrategy::approvalsrc/model.rs:149method31400.7
TallyStrategy::supermajoritysrc/model.rs:143method31100.6
TallyStrategy::unanimoussrc/model.rs:146method31100.6
ProposalScope::idsrc/model.rs:22method51000.5
WeightingScheme::defaultsrc/model.rs:93trait impl31000.5

Source not readable from this process.