1 viewer
rust 1,859,753 · typescript 235,218 · javascript 132,950 · python 20,426 · 6,405 files · digest 8b5a693e3c82 · built in 1.7 s · crystals off
crates/cre8-app-image/src/document.rs
Items
const SCHEMA const MAX_PROJECT_BYTES const MAX_PIXELS const MAX_LAYERS struct ImageDocument struct TemplateSlot enum SlotKind struct ImageAsset struct Layer enum LayerContent struct PhotoAdjustments struct CropRect impl PhotoAdjustments impl ImageDocument
Functions
By call-graph weight (PageRank; 1.0 is the average function). 16 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| ImageDocument::parsesrc/document.rs:164 | method | 6 | 1 | 9 | 0 | 6.1 | |
| fixturesrc/document.rs:261 | fn | 3 | 1 | 6 | 0 | 1.8 | |
| identifiersrc/document.rs:151 | fn | 3 | 5 | 1 | 0 | 0.6 | |
| colorsrc/document.rs:155 | fn | 3 | 3 | 1 | 0 | 0.6 | |
| dimensionssrc/document.rs:159 | fn | 3 | 5 | 1 | 0 | 0.6 | |
| present_atom_idsrc/document.rs:53 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| is_falsesrc/document.rs:95 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| present_adjustmentssrc/document.rs:99 | fn | 5 | 1 | 0 | 0 | 0.5 | |
| PhotoAdjustments::validatesrc/document.rs:129 | method | 20 | 8 | 0 | 0 | 0.5 | |
| ImageDocument::validatesrc/document.rs:171 | method | 83 | 27 | 0 | 3 | 0.5 | |
| atom_source_references_are_portable_and_strictsrc/document.rs:266 | fn | 9 | 2 | 0 | 2 | 0.5 | |
| named_controls_roundtrip_and_reject_invalid_bindingssrc/document.rs:277 | fn | 25 | 2 | 0 | 2 | 0.5 | |
| photo_adjustments_roundtrip_without_changing_original_sourcessrc/document.rs:304 | fn | 12 | 1 | 0 | 2 | 0.5 | |
| portable_document_roundtrips_without_losing_layer_order_or_original_sourcesrc/document.rs:318 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| rejects_unsupported_documents_and_broken_layer_referencessrc/document.rs:325 | fn | 17 | 2 | 0 | 2 | 0.5 | |
| future_fields_are_rejected_instead_of_silently_lost_on_savesrc/document.rs:344 | fn | 8 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.