#[non_exhaustive]pub enum VrrPolicy {
Off,
Auto,
On,
}Expand description
When to ask for variable refresh.
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.
Off
Never arm VRR_ENABLED.
Auto
Arm it when the driver profile reports the CRTC capable.
On
Arm it regardless – a no-op on a CRTC that does not expose it.
Trait Implementations§
impl Copy for VrrPolicy
impl Eq for VrrPolicy
impl StructuralPartialEq for VrrPolicy
Auto Trait Implementations§
impl Freeze for VrrPolicy
impl RefUnwindSafe for VrrPolicy
impl Send for VrrPolicy
impl Sync for VrrPolicy
impl Unpin for VrrPolicy
impl UnsafeUnpin for VrrPolicy
impl UnwindSafe for VrrPolicy
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