Skip to main content

LinuxWindowRecord

Struct LinuxWindowRecord 

Source
pub struct LinuxWindowRecord { /* private fields */ }
Expand description

Native Linux X11 / Wayland window record.

Implementations§

Source§

impl LinuxWindowRecord

Source

pub fn get_config(&self) -> &WindowConfig

Source

pub fn get_mut_config(&mut self) -> &mut WindowConfig

Source

pub fn set_config(&mut self, val: WindowConfig) -> &mut Self

Source

pub fn get_state(&self) -> WindowState

Source

pub fn get_mut_state(&mut self) -> &mut WindowState

Source

pub fn set_state(&mut self, val: WindowState) -> &mut Self

Source

pub fn get_is_wayland(&self) -> bool

Source

pub fn get_mut_is_wayland(&mut self) -> &mut bool

Source

pub fn set_is_wayland(&mut self, val: bool) -> &mut Self

Source

pub fn get_display(&self) -> usize

Source

pub fn get_mut_display(&mut self) -> &mut usize

Source

pub fn set_display(&mut self, val: usize) -> &mut Self

Source

pub fn get_window(&self) -> u64

Source

pub fn get_mut_window(&mut self) -> &mut u64

Source

pub fn set_window(&mut self, val: u64) -> &mut Self

Source

pub fn get_gc(&self) -> usize

Source

pub fn get_mut_gc(&mut self) -> &mut usize

Source

pub fn set_gc(&mut self, val: usize) -> &mut Self

Source

pub fn get_visual(&self) -> usize

Source

pub fn get_mut_visual(&mut self) -> &mut usize

Source

pub fn set_visual(&mut self, val: usize) -> &mut Self

Source

pub fn get_depth(&self) -> u32

Source

pub fn get_mut_depth(&mut self) -> &mut u32

Source

pub fn set_depth(&mut self, val: u32) -> &mut Self

Source

pub fn get_wm_delete_atom(&self) -> u64

Source

pub fn get_mut_wm_delete_atom(&mut self) -> &mut u64

Source

pub fn set_wm_delete_atom(&mut self, val: u64) -> &mut Self

Source

pub fn get_revealed(&self) -> bool

Source

pub fn get_mut_revealed(&mut self) -> &mut bool

Source

pub fn set_revealed(&mut self, val: bool) -> &mut Self

Source

pub fn get_mit_shm_available(&self) -> bool

Source

pub fn get_mut_mit_shm_available(&mut self) -> &mut bool

Source

pub fn set_mit_shm_available(&mut self, val: bool) -> &mut Self

Source

pub fn get_wayland_vulkan_wsi(&self) -> bool

Source

pub fn get_mut_wayland_vulkan_wsi(&mut self) -> &mut bool

Source

pub fn set_wayland_vulkan_wsi(&mut self, val: bool) -> &mut Self

Source

pub fn get_xlib_vulkan_wsi(&self) -> bool

Source

pub fn get_mut_xlib_vulkan_wsi(&mut self) -> &mut bool

Source

pub fn set_xlib_vulkan_wsi(&mut self, val: bool) -> &mut Self

Source

pub fn get_wl_compositor(&self) -> usize

Source

pub fn get_mut_wl_compositor(&mut self) -> &mut usize

Source

pub fn set_wl_compositor(&mut self, val: usize) -> &mut Self

Source

pub fn get_wl_shm(&self) -> usize

Source

pub fn get_mut_wl_shm(&mut self) -> &mut usize

Source

pub fn set_wl_shm(&mut self, val: usize) -> &mut Self

Source

pub fn get_wl_surface_version(&self) -> u32

Source

pub fn get_mut_wl_surface_version(&mut self) -> &mut u32

Source

pub fn set_wl_surface_version(&mut self, val: u32) -> &mut Self

Source

pub fn get_wayland_output_refresh_milli_hz(&self) -> u32

Source

pub fn get_mut_wayland_output_refresh_milli_hz(&mut self) -> &mut u32

Source

pub fn set_wayland_output_refresh_milli_hz(&mut self, val: u32) -> &mut Self

Source

pub fn get_wayland_presentation_time_ns(&self) -> u64

Source

pub fn get_mut_wayland_presentation_time_ns(&mut self) -> &mut u64

Source

pub fn set_wayland_presentation_time_ns(&mut self, val: u64) -> &mut Self

Source

pub fn get_wayland_frame_callback_pending(&self) -> bool

Source

pub fn get_mut_wayland_frame_callback_pending(&mut self) -> &mut bool

Source

pub fn set_wayland_frame_callback_pending(&mut self, val: bool) -> &mut Self

Source

pub fn get_presentation_mode(&self) -> LinuxPresentationMode

Source

pub fn get_mut_presentation_mode(&mut self) -> &mut LinuxPresentationMode

Source

pub fn set_presentation_mode(&mut self, val: LinuxPresentationMode) -> &mut Self

Source

pub fn get_cpu_mirror_active(&self) -> bool

Source

pub fn get_mut_cpu_mirror_active(&mut self) -> &mut bool

Source

pub fn set_cpu_mirror_active(&mut self, val: bool) -> &mut Self

Source

pub fn get_last_telemetry(&self) -> LinuxPresentTelemetry

Source

pub fn get_mut_last_telemetry(&mut self) -> &mut LinuxPresentTelemetry

Source

pub fn set_last_telemetry(&mut self, val: LinuxPresentTelemetry) -> &mut Self

Trait Implementations§

Source§

impl Clone for LinuxWindowRecord

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for LinuxWindowRecord

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.