pub enum Drawable {
None,
Unknown(u32),
Window(Window),
Pixmap(Pixmap),
}
Variants§
None
Unknown(u32)
Whether the drawable is a Window
or a Pixmap
is only known to the user context
Window(Window)
Pixmap(Pixmap)
Trait Implementations§
impl Copy for Drawable
impl Eq for Drawable
Auto Trait Implementations§
impl Freeze for Drawable
impl RefUnwindSafe for Drawable
impl Send for Drawable
impl Sync for Drawable
impl Unpin for Drawable
impl UnwindSafe for Drawable
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
)