Struct raw_window_handle::XlibHandle
source · [−]#[non_exhaustive]pub struct XlibHandle {
pub window: c_ulong,
pub display: *mut c_void,
pub visual_id: c_ulong,
}
Expand description
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.window: c_ulong
An Xlib Window
.
display: *mut c_void
A pointer to an Xlib Display
.
visual_id: c_ulong
An Xlib visual ID, or 0 if unknown.
Implementations
sourceimpl XlibHandle
impl XlibHandle
Trait Implementations
sourceimpl Clone for XlibHandle
impl Clone for XlibHandle
sourcefn clone(&self) -> XlibHandle
fn clone(&self) -> XlibHandle
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for XlibHandle
impl Debug for XlibHandle
sourceimpl Hash for XlibHandle
impl Hash for XlibHandle
sourceimpl PartialEq<XlibHandle> for XlibHandle
impl PartialEq<XlibHandle> for XlibHandle
sourcefn eq(&self, other: &XlibHandle) -> bool
fn eq(&self, other: &XlibHandle) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &XlibHandle) -> bool
fn ne(&self, other: &XlibHandle) -> bool
This method tests for !=
.
impl Copy for XlibHandle
impl Eq for XlibHandle
impl StructuralEq for XlibHandle
impl StructuralPartialEq for XlibHandle
Auto Trait Implementations
impl RefUnwindSafe for XlibHandle
impl !Send for XlibHandle
impl !Sync for XlibHandle
impl Unpin for XlibHandle
impl UnwindSafe for XlibHandle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more