pub struct ScreenBuf { /* private fields */ }
Implementations§
source§impl ScreenBuf
impl ScreenBuf
sourcepub fn new(
root: Window,
default_colormap: Colormap,
white_pixel: u32,
black_pixel: u32,
current_input_masks: EventMask,
width_in_pixels: u16,
height_in_pixels: u16,
width_in_millimeters: u16,
height_in_millimeters: u16,
min_installed_maps: u16,
max_installed_maps: u16,
root_visual: Visualid,
backing_stores: BackingStore,
save_unders: bool,
root_depth: u8,
allowed_depths: &[DepthBuf],
) -> ScreenBuf
pub fn new( root: Window, default_colormap: Colormap, white_pixel: u32, black_pixel: u32, current_input_masks: EventMask, width_in_pixels: u16, height_in_pixels: u16, width_in_millimeters: u16, height_in_millimeters: u16, min_installed_maps: u16, max_installed_maps: u16, root_visual: Visualid, backing_stores: BackingStore, save_unders: bool, root_depth: u8, allowed_depths: &[DepthBuf], ) -> ScreenBuf
Construct a new ScreenBuf.
Methods from Deref<Target = Screen>§
pub fn root(&self) -> Window
pub fn default_colormap(&self) -> Colormap
pub fn white_pixel(&self) -> u32
pub fn black_pixel(&self) -> u32
pub fn current_input_masks(&self) -> EventMask
pub fn width_in_pixels(&self) -> u16
pub fn height_in_pixels(&self) -> u16
pub fn width_in_millimeters(&self) -> u16
pub fn height_in_millimeters(&self) -> u16
pub fn min_installed_maps(&self) -> u16
pub fn max_installed_maps(&self) -> u16
pub fn root_visual(&self) -> Visualid
pub fn backing_stores(&self) -> BackingStore
pub fn save_unders(&self) -> bool
pub fn root_depth(&self) -> u8
pub fn allowed_depths(&self) -> DepthIterator<'_> ⓘ
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScreenBuf
impl RefUnwindSafe for ScreenBuf
impl Send for ScreenBuf
impl Sync for ScreenBuf
impl Unpin for ScreenBuf
impl UnwindSafe for ScreenBuf
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)