pub struct LinuxWindowRecord { /* private fields */ }Expand description
Native Linux X11 / Wayland window record.
Implementations§
Source§impl LinuxWindowRecord
impl LinuxWindowRecord
pub fn get_config(&self) -> &WindowConfig
pub fn get_mut_config(&mut self) -> &mut WindowConfig
pub fn set_config(&mut self, val: WindowConfig) -> &mut Self
pub fn get_state(&self) -> WindowState
pub fn get_mut_state(&mut self) -> &mut WindowState
pub fn set_state(&mut self, val: WindowState) -> &mut Self
pub fn get_is_wayland(&self) -> bool
pub fn get_mut_is_wayland(&mut self) -> &mut bool
pub fn set_is_wayland(&mut self, val: bool) -> &mut Self
pub fn get_display(&self) -> usize
pub fn get_mut_display(&mut self) -> &mut usize
pub fn set_display(&mut self, val: usize) -> &mut Self
pub fn get_window(&self) -> u64
pub fn get_mut_window(&mut self) -> &mut u64
pub fn set_window(&mut self, val: u64) -> &mut Self
pub fn get_gc(&self) -> usize
pub fn get_mut_gc(&mut self) -> &mut usize
pub fn set_gc(&mut self, val: usize) -> &mut Self
pub fn get_visual(&self) -> usize
pub fn get_mut_visual(&mut self) -> &mut usize
pub fn set_visual(&mut self, val: usize) -> &mut Self
pub fn get_depth(&self) -> u32
pub fn get_mut_depth(&mut self) -> &mut u32
pub fn set_depth(&mut self, val: u32) -> &mut Self
pub fn get_wm_delete_atom(&self) -> u64
pub fn get_mut_wm_delete_atom(&mut self) -> &mut u64
pub fn set_wm_delete_atom(&mut self, val: u64) -> &mut Self
pub fn get_revealed(&self) -> bool
pub fn get_mut_revealed(&mut self) -> &mut bool
pub fn set_revealed(&mut self, val: bool) -> &mut Self
pub fn get_mit_shm_available(&self) -> bool
pub fn get_mut_mit_shm_available(&mut self) -> &mut bool
pub fn set_mit_shm_available(&mut self, val: bool) -> &mut Self
pub fn get_wayland_vulkan_wsi(&self) -> bool
pub fn get_mut_wayland_vulkan_wsi(&mut self) -> &mut bool
pub fn set_wayland_vulkan_wsi(&mut self, val: bool) -> &mut Self
pub fn get_xlib_vulkan_wsi(&self) -> bool
pub fn get_mut_xlib_vulkan_wsi(&mut self) -> &mut bool
pub fn set_xlib_vulkan_wsi(&mut self, val: bool) -> &mut Self
pub fn get_wl_compositor(&self) -> usize
pub fn get_mut_wl_compositor(&mut self) -> &mut usize
pub fn set_wl_compositor(&mut self, val: usize) -> &mut Self
pub fn get_wl_shm(&self) -> usize
pub fn get_mut_wl_shm(&mut self) -> &mut usize
pub fn set_wl_shm(&mut self, val: usize) -> &mut Self
pub fn get_wl_surface_version(&self) -> u32
pub fn get_mut_wl_surface_version(&mut self) -> &mut u32
pub fn set_wl_surface_version(&mut self, val: u32) -> &mut Self
pub fn get_wayland_output_refresh_milli_hz(&self) -> u32
pub fn get_mut_wayland_output_refresh_milli_hz(&mut self) -> &mut u32
pub fn set_wayland_output_refresh_milli_hz(&mut self, val: u32) -> &mut Self
pub fn get_wayland_presentation_time_ns(&self) -> u64
pub fn get_mut_wayland_presentation_time_ns(&mut self) -> &mut u64
pub fn set_wayland_presentation_time_ns(&mut self, val: u64) -> &mut Self
pub fn get_wayland_frame_callback_pending(&self) -> bool
pub fn get_mut_wayland_frame_callback_pending(&mut self) -> &mut bool
pub fn set_wayland_frame_callback_pending(&mut self, val: bool) -> &mut Self
pub fn get_presentation_mode(&self) -> LinuxPresentationMode
pub fn get_mut_presentation_mode(&mut self) -> &mut LinuxPresentationMode
pub fn set_presentation_mode(&mut self, val: LinuxPresentationMode) -> &mut Self
pub fn get_cpu_mirror_active(&self) -> bool
pub fn get_mut_cpu_mirror_active(&mut self) -> &mut bool
pub fn set_cpu_mirror_active(&mut self, val: bool) -> &mut Self
pub fn get_last_telemetry(&self) -> LinuxPresentTelemetry
pub fn get_mut_last_telemetry(&mut self) -> &mut LinuxPresentTelemetry
pub fn set_last_telemetry(&mut self, val: LinuxPresentTelemetry) -> &mut Self
Trait Implementations§
Source§impl Clone for LinuxWindowRecord
impl Clone for LinuxWindowRecord
Auto Trait Implementations§
impl Forget for LinuxWindowRecord
impl Freeze for LinuxWindowRecordwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<[u8]> is !null: Freeze,
PhantomData<ArcInner<[u8]>>: Freeze,
*const ArcInner<Mutex<WaylandShmSwapchain>> is !null: Freeze,
PhantomData<ArcInner<Mutex<WaylandShmSwapchain>>>: Freeze,
impl Move for LinuxWindowRecord
impl RefUnwindSafe for LinuxWindowRecord
impl Send for LinuxWindowRecord
impl Sync for LinuxWindowRecord
impl Unpin for LinuxWindowRecord
impl UnsafeUnpin for LinuxWindowRecordwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<[u8]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[u8]>>: UnsafeUnpin,
*const ArcInner<Mutex<WaylandShmSwapchain>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Mutex<WaylandShmSwapchain>>>: UnsafeUnpin,
impl UnwindSafe for LinuxWindowRecord
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