pub struct ScreenBuf { /* private fields */ }
Implementations
sourceimpl 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<'_>ⓘNotable traits for DepthIterator<'a>impl<'a> Iterator for DepthIterator<'a> type Item = &'a Depth;
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ScreenBuf
impl Send for ScreenBuf
impl Sync for ScreenBuf
impl Unpin for ScreenBuf
impl UnwindSafe for ScreenBuf
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more