1 viewer
rust 1,854,448 · typescript 233,181 · javascript 132,491 · python 19,572 · 6,381 files · digest 17250db9be6a · built in 2.2 s · crystals off
crates/cre8-app-device/src/print_plan.rs
Items
const PWG_RASTER_MIME const JPEG_MIME const MAX_PAGE_PIXELS const PREFERRED_DPI const FALLBACK_DPI const FALLBACK_MEDIA const MAX_RASTER_PAGE_COPIES const REQUESTED_PRINTER_ATTRIBUTES const REQUESTED_JOB_ATTRIBUTES struct Resolution impl Resolution struct PrinterCapabilities impl PrinterCapabilities enum RenderFormat impl RenderFormat struct FormatDecision struct MediaSize impl MediaSize enum CopiesMode impl CopiesMode enum RenderIntent impl RenderIntent
Functions
By call-graph weight (PageRank; 1.0 is the average function). 34 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| parse_mediasrc/print_plan.rs:329 | fn | 30 | 13 | 9 | 0 | 2 | |
| Resolution::squaresrc/print_plan.rs:80 | method | 3 | 1 | 5 | 0 | 1.8 | |
| MediaSize::pixelssrc/print_plan.rs:308 | method | 6 | 1 | 4 | 0 | 1.6 | |
| choose_formatsrc/print_plan.rs:264 | fn | 32 | 7 | 6 | 2 | 1.5 | |
| caps_with_formatssrc/print_plan.rs:503 | fn | 7 | 1 | 4 | 0 | 1.3 | |
| PrinterCapabilities::lists_formatsrc/print_plan.rs:178 | method | 3 | 1 | 1 | 0 | 1.1 | |
| RenderIntent::parsesrc/print_plan.rs:472 | method | 15 | 5 | 2 | 0 | 1 | |
| choose_mediasrc/print_plan.rs:362 | fn | 16 | 2 | 2 | 1 | 0.9 | |
| choose_copiessrc/print_plan.rs:441 | fn | 19 | 6 | 2 | 0 | 0.9 | |
| Resolution::labelsrc/print_plan.rs:84 | method | 3 | 1 | 2 | 0 | 0.8 | |
| Resolution::from_ippsrc/print_plan.rs:92 | method | 12 | 6 | 1 | 0 | 0.8 | |
| MediaSize::pointssrc/print_plan.rs:316 | method | 3 | 1 | 2 | 0 | 0.7 | |
| PrinterCapabilities::state_keywordsrc/print_plan.rs:174 | method | 3 | 1 | 2 | 1 | 0.7 | |
| MediaSize::fits_budgetsrc/print_plan.rs:320 | method | 4 | 3 | 1 | 1 | 0.7 | |
| choose_resolutionsrc/print_plan.rs:381 | fn | 38 | 6 | 2 | 3 | 0.7 | |
| PrinterCapabilities::from_ippsrc/print_plan.rs:140 | method | 33 | 3 | 3 | 4 | 0.7 | |
| PrinterCapabilities::resolutions_forsrc/print_plan.rs:183 | method | 6 | 3 | 2 | 0 | 0.7 | |
| resolutionssrc/print_plan.rs:129 | fn | 9 | 1 | 1 | 2 | 0.6 | |
| PrinterCapabilities::probe_jsonsrc/print_plan.rs:193 | method | 38 | 5 | 2 | 4 | 0.6 | |
| RenderFormat::mimesrc/print_plan.rs:242 | method | 6 | 2 | 1 | 0 | 0.5 | |
| RenderFormat::raster_typesrc/print_plan.rs:249 | method | 6 | 2 | 1 | 1 | 0.5 | |
| Resolution::to_jsonsrc/print_plan.rs:88 | method | 3 | 1 | 0 | 0 | 0.5 | |
| CopiesMode::keywordsrc/print_plan.rs:432 | method | 7 | 3 | 0 | 0 | 0.5 | |
| RenderIntent::keywordsrc/print_plan.rs:488 | method | 8 | 4 | 0 | 0 | 0.5 | |
| pwg_raster_wins_when_listedsrc/print_plan.rs:512 | fn | 11 | 1 | 0 | 2 | 0.5 | |
| jpeg_is_the_recorded_fallback_without_pwg_rastersrc/print_plan.rs:525 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| gray_only_raster_printers_get_sgraysrc/print_plan.rs:535 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| unrenderable_raster_types_fall_back_to_jpeg_or_refusesrc/print_plan.rs:542 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| media_names_parse_to_inchessrc/print_plan.rs:552 | fn | 15 | 2 | 0 | 4 | 0.5 | |
| media_choice_prefers_request_then_loaded_then_defaultsrc/print_plan.rs:569 | fn | 11 | 1 | 0 | 1 | 0.5 | |
| resolution_choicesrc/print_plan.rs:582 | fn | 16 | 1 | 0 | 3 | 0.5 | |
| copies_choicesrc/print_plan.rs:600 | fn | 10 | 1 | 0 | 1 | 0.5 | |
| capabilities_read_from_an_ipp_responsesrc/print_plan.rs:612 | fn | 34 | 1 | 0 | 7 | 0.5 | |
| rendering_intent_keywordssrc/print_plan.rs:648 | fn | 5 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.