pub enum BackendPreference {
Auto,
LinuxWaylandPortal,
LinuxX11,
MacScreenCaptureKit,
WindowsDxgi,
WindowsWgc,
}Expand description
Which backend the session builder should pick.
Auto chooses the platform default (Wayland portal / DXGI /
ScreenCaptureKit) with sensible fallbacks; the other variants force a
specific video backend or fail.
Variants§
Trait Implementations§
Source§impl Clone for BackendPreference
impl Clone for BackendPreference
Source§fn clone(&self) -> BackendPreference
fn clone(&self) -> BackendPreference
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 BackendPreference
Source§impl Debug for BackendPreference
impl Debug for BackendPreference
impl Eq for BackendPreference
Source§impl PartialEq for BackendPreference
impl PartialEq for BackendPreference
Source§fn eq(&self, other: &BackendPreference) -> bool
fn eq(&self, other: &BackendPreference) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BackendPreference
Auto Trait Implementations§
impl Freeze for BackendPreference
impl RefUnwindSafe for BackendPreference
impl Send for BackendPreference
impl Sync for BackendPreference
impl Unpin for BackendPreference
impl UnsafeUnpin for BackendPreference
impl UnwindSafe for BackendPreference
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