Struct RedirectWindowRequest
pub struct RedirectWindowRequest {
pub window: u32,
pub update: Redirect,
}
Expand description
Redirect the hierarchy starting at “window” to off-screen storage..
The hierarchy starting at ‘window’ is directed to off-screen storage. When all clients enabling redirection terminate, the redirection will automatically be disabled.
The root window may not be redirected. Doing so results in a Match error.
§Fields
window
- The root of the hierarchy to redirect to off-screen storage.update
- Whether contents are automatically mirrored to the parent window. If one client already specifies an update type of Manual, any attempt by another to specify a mode of Manual so will result in an Access error.
Fields§
§window: u32
§update: Redirect
Implementations§
Trait Implementations§
§impl Clone for RedirectWindowRequest
impl Clone for RedirectWindowRequest
§fn clone(&self) -> RedirectWindowRequest
fn clone(&self) -> RedirectWindowRequest
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for RedirectWindowRequest
impl Debug for RedirectWindowRequest
§impl Default for RedirectWindowRequest
impl Default for RedirectWindowRequest
§fn default() -> RedirectWindowRequest
fn default() -> RedirectWindowRequest
Returns the “default value” for a type. Read more
§impl Request for RedirectWindowRequest
impl Request for RedirectWindowRequest
impl Copy for RedirectWindowRequest
impl VoidRequest for RedirectWindowRequest
Auto Trait Implementations§
impl Freeze for RedirectWindowRequest
impl RefUnwindSafe for RedirectWindowRequest
impl Send for RedirectWindowRequest
impl Sync for RedirectWindowRequest
impl Unpin for RedirectWindowRequest
impl UnwindSafe for RedirectWindowRequest
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
)