pub enum LinuxPresentationMode {
GpuDirect,
WaylandShmSoftware,
X11Software,
}Expand description
Active Linux rendering and presentation transport selected for a native window.
Variants§
GpuDirect
Direct Vulkan WSI GPU presentation (VK_KHR_wayland_surface or VK_KHR_xlib_surface, cpu_mirror_active = false).
WaylandShmSoftware
Real double-buffered Wayland wl_shm software presentation (cpu_mirror_active = true).
X11Software
X11 multi-rect dirty XPutImage / MIT-SHM software presentation (cpu_mirror_active = true).
Trait Implementations§
Source§impl Clone for LinuxPresentationMode
impl Clone for LinuxPresentationMode
impl Copy for LinuxPresentationMode
Source§impl Debug for LinuxPresentationMode
impl Debug for LinuxPresentationMode
Source§impl Default for LinuxPresentationMode
impl Default for LinuxPresentationMode
impl Eq for LinuxPresentationMode
Source§impl Hash for LinuxPresentationMode
impl Hash for LinuxPresentationMode
Source§impl Ord for LinuxPresentationMode
impl Ord for LinuxPresentationMode
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 LinuxPresentationMode
impl PartialEq for LinuxPresentationMode
Source§impl PartialOrd for LinuxPresentationMode
impl PartialOrd for LinuxPresentationMode
impl StructuralPartialEq for LinuxPresentationMode
Auto Trait Implementations§
impl Forget for LinuxPresentationMode
impl Freeze for LinuxPresentationMode
impl Move for LinuxPresentationMode
impl RefUnwindSafe for LinuxPresentationMode
impl Send for LinuxPresentationMode
impl Sync for LinuxPresentationMode
impl Unpin for LinuxPresentationMode
impl UnsafeUnpin for LinuxPresentationMode
impl UnwindSafe for LinuxPresentationMode
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