Commit 48c0097
style(encoder): add #[must_use] to VUI types
Add #[must_use] attributes to VuiConfig struct and as_u8 methods
on ColorPrimaries, TransferCharacteristics, and MatrixCoefficients
to satisfy clippy lints for builder patterns and pure functions.1 parent 2f10cb3 commit 48c0097
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
| 446 | + | |
446 | 447 | | |
447 | 448 | | |
448 | 449 | | |
| |||
483 | 484 | | |
484 | 485 | | |
485 | 486 | | |
| 487 | + | |
486 | 488 | | |
487 | 489 | | |
488 | 490 | | |
| |||
519 | 521 | | |
520 | 522 | | |
521 | 523 | | |
| 524 | + | |
522 | 525 | | |
523 | 526 | | |
524 | 527 | | |
| |||
538 | 541 | | |
539 | 542 | | |
540 | 543 | | |
| 544 | + | |
541 | 545 | | |
542 | 546 | | |
543 | 547 | | |
| |||
0 commit comments