#[non_exhaustive]#[repr(u8)]pub enum FrlRate {
NotSupported = 0,
Rate3Gbps3Lanes = 1,
Rate6Gbps3Lanes = 2,
Rate6Gbps4Lanes = 3,
Rate8Gbps4Lanes = 4,
Rate10Gbps4Lanes = 5,
Rate12Gbps4Lanes = 6,
}Expand description
Maximum Fixed Rate Link (FRL) bandwidth supported by a HDMI 2.1 sink.
Variants are assigned the Max_FRL_Rate nibble values from the HDMI 2.1a spec directly.
The discriminants establish the ordering: higher value = greater bandwidth.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NotSupported = 0
FRL not supported; TMDS only.
Rate3Gbps3Lanes = 1
Up to 3 Gbps/lane on 3 lanes (≈ 9 Gbps total).
Rate6Gbps3Lanes = 2
Up to 6 Gbps/lane on 3 lanes (≈ 18 Gbps).
Rate6Gbps4Lanes = 3
Up to 6 Gbps/lane on 4 lanes (≈ 24 Gbps).
Rate8Gbps4Lanes = 4
Up to 8 Gbps/lane on 4 lanes (≈ 32 Gbps).
Rate10Gbps4Lanes = 5
Up to 10 Gbps/lane on 4 lanes (≈ 40 Gbps).
Rate12Gbps4Lanes = 6
Up to 12 Gbps/lane on 4 lanes (≈ 48 Gbps).
Implementations§
Source§impl HdmiForumFrl
impl HdmiForumFrl
Sourcepub fn from_raw(raw: u8) -> HdmiForumFrl
pub fn from_raw(raw: u8) -> HdmiForumFrl
Decodes the Max_FRL_Rate nibble from the HDMI 2.1 SCDS.
Trait Implementations§
Source§impl Clone for HdmiForumFrl
impl Clone for HdmiForumFrl
Source§fn clone(&self) -> HdmiForumFrl
fn clone(&self) -> HdmiForumFrl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HdmiForumFrl
Source§impl Debug for HdmiForumFrl
impl Debug for HdmiForumFrl
impl Eq for HdmiForumFrl
Source§impl Ord for HdmiForumFrl
impl Ord for HdmiForumFrl
Source§fn cmp(&self, other: &HdmiForumFrl) -> Ordering
fn cmp(&self, other: &HdmiForumFrl) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for HdmiForumFrl
impl PartialEq for HdmiForumFrl
Source§impl PartialOrd for HdmiForumFrl
impl PartialOrd for HdmiForumFrl
impl StructuralPartialEq for HdmiForumFrl
Auto Trait Implementations§
impl Freeze for HdmiForumFrl
impl RefUnwindSafe for HdmiForumFrl
impl Send for HdmiForumFrl
impl Sync for HdmiForumFrl
impl Unpin for HdmiForumFrl
impl UnsafeUnpin for HdmiForumFrl
impl UnwindSafe for HdmiForumFrl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more