1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! The `NegotiatedConfig` output type.
use Vec;
use ResolvedDisplayConfig;
use crateReasoningTrace;
use crateWarning;
/// A resolved, accepted configuration produced by the negotiation pipeline.
///
/// `NegotiatedConfig` is a pure data struct — it holds resolved values. Helpers
/// that compute derived results (compatibility checks, ranking utilities, mode
/// filters) are free functions in separate modules, not methods on this struct.
///
/// The hardware-relevant fields (video mode, color encoding, transport, DSC, VRR)
/// are grouped in [`resolved`][NegotiatedConfig::resolved] as a [`ResolvedDisplayConfig`].
/// This lets drivers, InfoFrame encoders, and compositors depend only on `display-types`
/// for the programming interface without a hard dependency on `concordance`.
///
/// Generic over the warning type, defaulting to the built-in [`Warning`].