Enum leftwm_core::models::WindowHandle
source · pub enum WindowHandle {
MockHandle(i32),
XlibHandle(Window),
}Variants§
Implementations§
source§impl WindowHandle
impl WindowHandle
pub fn xlib_handle(self) -> Option<Window>
Trait Implementations§
source§impl Clone for WindowHandle
impl Clone for WindowHandle
source§fn clone(&self) -> WindowHandle
fn clone(&self) -> WindowHandle
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 moresource§impl Debug for WindowHandle
impl Debug for WindowHandle
source§impl<'de> Deserialize<'de> for WindowHandle
impl<'de> Deserialize<'de> for WindowHandle
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<u32> for WindowHandle
impl From<u32> for WindowHandle
source§impl PartialEq<WindowHandle> for WindowHandle
impl PartialEq<WindowHandle> for WindowHandle
source§fn eq(&self, other: &WindowHandle) -> bool
fn eq(&self, other: &WindowHandle) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for WindowHandle
impl Serialize for WindowHandle
impl Copy for WindowHandle
impl Eq for WindowHandle
impl StructuralEq for WindowHandle
impl StructuralPartialEq for WindowHandle
Auto Trait Implementations§
impl RefUnwindSafe for WindowHandle
impl Send 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