pub enum NativePixmap {
XlibPixmap(c_ulong),
XcbPixmap(u32),
WindowsPixmap(isize),
}
Expand description
A platform native pixmap.
Variants§
XlibPixmap(c_ulong)
XID of X11 pixmap.
XcbPixmap(u32)
XID of X11 pixmap from xcb.
WindowsPixmap(isize)
HBITMAP handle for windows bitmap.
Trait Implementations§
Source§impl Clone for NativePixmap
impl Clone for NativePixmap
Source§fn clone(&self) -> NativePixmap
fn clone(&self) -> NativePixmap
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 NativePixmap
impl Debug for NativePixmap
Source§impl PartialEq for NativePixmap
impl PartialEq for NativePixmap
impl Copy for NativePixmap
impl Eq for NativePixmap
impl StructuralPartialEq for NativePixmap
Auto Trait Implementations§
impl Freeze for NativePixmap
impl RefUnwindSafe for NativePixmap
impl Send for NativePixmap
impl Sync for NativePixmap
impl Unpin for NativePixmap
impl UnwindSafe for NativePixmap
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