Struct xplm_sys::XPLMCreateWindow_t
source · #[repr(C)]pub struct XPLMCreateWindow_t {Show 15 fields
pub structSize: c_int,
pub left: c_int,
pub top: c_int,
pub right: c_int,
pub bottom: c_int,
pub visible: c_int,
pub drawWindowFunc: XPLMDrawWindow_f,
pub handleMouseClickFunc: XPLMHandleMouseClick_f,
pub handleKeyFunc: XPLMHandleKey_f,
pub handleCursorFunc: XPLMHandleCursor_f,
pub handleMouseWheelFunc: XPLMHandleMouseWheel_f,
pub refcon: *mut c_void,
pub decorateAsFloatingWindow: XPLMWindowDecoration,
pub layer: XPLMWindowLayer,
pub handleRightClickFunc: XPLMHandleMouseClick_f,
}
Fields§
§structSize: c_int
§left: c_int
§top: c_int
§right: c_int
§bottom: c_int
§visible: c_int
§drawWindowFunc: XPLMDrawWindow_f
§handleMouseClickFunc: XPLMHandleMouseClick_f
§handleKeyFunc: XPLMHandleKey_f
§handleCursorFunc: XPLMHandleCursor_f
§handleMouseWheelFunc: XPLMHandleMouseWheel_f
§refcon: *mut c_void
§decorateAsFloatingWindow: XPLMWindowDecoration
§layer: XPLMWindowLayer
§handleRightClickFunc: XPLMHandleMouseClick_f
Trait Implementations§
source§impl Clone for XPLMCreateWindow_t
impl Clone for XPLMCreateWindow_t
source§fn clone(&self) -> XPLMCreateWindow_t
fn clone(&self) -> XPLMCreateWindow_t
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 XPLMCreateWindow_t
impl Debug for XPLMCreateWindow_t
impl Copy for XPLMCreateWindow_t
Auto Trait Implementations§
impl RefUnwindSafe for XPLMCreateWindow_t
impl !Send for XPLMCreateWindow_t
impl !Sync for XPLMCreateWindow_t
impl Unpin for XPLMCreateWindow_t
impl UnwindSafe for XPLMCreateWindow_t
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