Struct winit::platform_impl::linux::x11::ffi::XWindowAttributes
source · #[repr(C)]pub struct XWindowAttributes {Show 23 fields
pub x: i32,
pub y: i32,
pub width: i32,
pub height: i32,
pub border_width: i32,
pub depth: i32,
pub visual: *mut Visual,
pub root: u64,
pub class: i32,
pub bit_gravity: i32,
pub win_gravity: i32,
pub backing_store: i32,
pub backing_planes: u64,
pub backing_pixel: u64,
pub save_under: i32,
pub colormap: u64,
pub map_installed: i32,
pub map_state: i32,
pub all_event_masks: i64,
pub your_event_mask: i64,
pub do_not_propagate_mask: i64,
pub override_redirect: i32,
pub screen: *mut Screen,
}
Fields§
§x: i32
§y: i32
§width: i32
§height: i32
§border_width: i32
§depth: i32
§visual: *mut Visual
§root: u64
§class: i32
§bit_gravity: i32
§win_gravity: i32
§backing_store: i32
§backing_planes: u64
§backing_pixel: u64
§save_under: i32
§colormap: u64
§map_installed: i32
§map_state: i32
§all_event_masks: i64
§your_event_mask: i64
§do_not_propagate_mask: i64
§override_redirect: i32
§screen: *mut Screen
Trait Implementations§
source§impl Clone for XWindowAttributes
impl Clone for XWindowAttributes
source§fn clone(&self) -> XWindowAttributes
fn clone(&self) -> XWindowAttributes
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 XWindowAttributes
impl Debug for XWindowAttributes
source§impl PartialEq for XWindowAttributes
impl PartialEq for XWindowAttributes
impl Copy for XWindowAttributes
impl StructuralPartialEq for XWindowAttributes
Auto Trait Implementations§
impl Freeze for XWindowAttributes
impl RefUnwindSafe for XWindowAttributes
impl !Send for XWindowAttributes
impl !Sync for XWindowAttributes
impl Unpin for XWindowAttributes
impl UnwindSafe for XWindowAttributes
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
)source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.