pub struct WindowHandle {
pub window_buffer: BufferObject,
/* private fields */
}Expand description
A window handle for the compositor. Provides a compositing buffer.
Fields§
§window_buffer: BufferObjectImplementations§
Source§impl WindowHandle
impl WindowHandle
Sourcepub fn reconfigure(&self, wconfig: WindowConfig) -> Result<(), TwzError>
pub fn reconfigure(&self, wconfig: WindowConfig) -> Result<(), TwzError>
Change window parameters, such as position, size, or z-sorting.
Sourcepub fn get_config(&self) -> Result<WindowConfig, TwzError>
pub fn get_config(&self) -> Result<WindowConfig, TwzError>
Get the current window configuration.
Trait Implementations§
Source§impl Drop for WindowHandle
impl Drop for WindowHandle
Auto Trait Implementations§
impl !Crossing for WindowHandle
impl Freeze for WindowHandle
impl !RefUnwindSafe for WindowHandle
impl Send for WindowHandle
impl !StoreCopy for WindowHandle
impl Sync for WindowHandle
impl Unpin for WindowHandle
impl !UnwindSafe for WindowHandle
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