pub enum OutputPreference {
Auto,
Kind(ConnectorKind),
Id(u32),
}Expand description
Which output to drive.
Variants§
Auto
Internal panel first, then external digital, then analogue.
Kind(ConnectorKind)
The first usable connector of this type.
Id(u32)
One specific DRM connector id.
Trait Implementations§
Source§impl Clone for OutputPreference
impl Clone for OutputPreference
Source§fn clone(&self) -> OutputPreference
fn clone(&self) -> OutputPreference
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 OutputPreference
Source§impl Debug for OutputPreference
impl Debug for OutputPreference
Source§impl Default for OutputPreference
impl Default for OutputPreference
Source§fn default() -> OutputPreference
fn default() -> OutputPreference
Returns the “default value” for a type. Read more
impl Eq for OutputPreference
Source§impl PartialEq for OutputPreference
impl PartialEq for OutputPreference
impl StructuralPartialEq for OutputPreference
Auto Trait Implementations§
impl Freeze for OutputPreference
impl RefUnwindSafe for OutputPreference
impl Send for OutputPreference
impl Sync for OutputPreference
impl Unpin for OutputPreference
impl UnsafeUnpin for OutputPreference
impl UnwindSafe for OutputPreference
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