Struct Screen

Source
pub struct Screen { /* private fields */ }

Implementations§

Source§

impl Screen

Source

pub fn root(&self) -> Window

Source

pub fn default_colormap(&self) -> Colormap

Source

pub fn white_pixel(&self) -> u32

Source

pub fn black_pixel(&self) -> u32

Source

pub fn current_input_masks(&self) -> EventMask

Source

pub fn width_in_pixels(&self) -> u16

Source

pub fn height_in_pixels(&self) -> u16

Source

pub fn width_in_millimeters(&self) -> u16

Source

pub fn height_in_millimeters(&self) -> u16

Source

pub fn min_installed_maps(&self) -> u16

Source

pub fn max_installed_maps(&self) -> u16

Source

pub fn root_visual(&self) -> Visualid

Source

pub fn backing_stores(&self) -> BackingStore

Source

pub fn save_unders(&self) -> bool

Source

pub fn root_depth(&self) -> u8

Source

pub fn allowed_depths(&self) -> DepthIterator<'_>

Trait Implementations§

Source§

impl Borrow<Screen> for ScreenBuf

Source§

fn borrow(&self) -> &Screen

Immutably borrows from an owned value. Read more
Source§

impl Debug for Screen

Source§

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

Formats the value using the given formatter. Read more
Source§

impl ToOwned for Screen

Source§

type Owned = ScreenBuf

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> Self::Owned

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

fn clone_into(&self, target: &mut Self::Owned)

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

Auto Trait Implementations§

§

impl Freeze for Screen

§

impl RefUnwindSafe for Screen

§

impl Send for Screen

§

impl !Sized for Screen

§

impl Sync for Screen

§

impl Unpin for Screen

§

impl UnwindSafe for Screen

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