#[repr(C)]pub struct ImGuiWindow {Show 121 fields
pub Ctx: *mut ImGuiContext,
pub Name: *mut c_char,
pub ID: ImGuiID,
pub Flags: ImGuiWindowFlags,
pub FlagsPreviousFrame: ImGuiWindowFlags,
pub ChildFlags: ImGuiChildFlags,
pub WindowClass: ImGuiWindowClass,
pub Viewport: *mut ImGuiViewportP,
pub ViewportId: ImGuiID,
pub ViewportPos: ImVec2,
pub ViewportAllowPlatformMonitorExtend: c_int,
pub Pos: ImVec2,
pub Size: ImVec2,
pub SizeFull: ImVec2,
pub ContentSize: ImVec2,
pub ContentSizeIdeal: ImVec2,
pub ContentSizeExplicit: ImVec2,
pub WindowPadding: ImVec2,
pub WindowRounding: f32,
pub WindowBorderSize: f32,
pub TitleBarHeight: f32,
pub MenuBarHeight: f32,
pub DecoOuterSizeX1: f32,
pub DecoOuterSizeY1: f32,
pub DecoOuterSizeX2: f32,
pub DecoOuterSizeY2: f32,
pub DecoInnerSizeX1: f32,
pub DecoInnerSizeY1: f32,
pub NameBufLen: c_int,
pub MoveId: ImGuiID,
pub TabId: ImGuiID,
pub ChildId: ImGuiID,
pub PopupId: ImGuiID,
pub Scroll: ImVec2,
pub ScrollMax: ImVec2,
pub ScrollTarget: ImVec2,
pub ScrollTargetCenterRatio: ImVec2,
pub ScrollTargetEdgeSnapDist: ImVec2,
pub ScrollbarSizes: ImVec2,
pub ScrollbarX: bool,
pub ScrollbarY: bool,
pub ScrollbarXStabilizeEnabled: bool,
pub ScrollbarXStabilizeToggledHistory: ImU8,
pub ViewportOwned: bool,
pub Active: bool,
pub WasActive: bool,
pub WriteAccessed: bool,
pub Collapsed: bool,
pub WantCollapseToggle: bool,
pub SkipItems: bool,
pub SkipRefresh: bool,
pub Appearing: bool,
pub Hidden: bool,
pub IsFallbackWindow: bool,
pub IsExplicitChild: bool,
pub HasCloseButton: bool,
pub ResizeBorderHovered: c_schar,
pub ResizeBorderHeld: c_schar,
pub BeginCount: c_short,
pub BeginCountPreviousFrame: c_short,
pub BeginOrderWithinParent: c_short,
pub BeginOrderWithinContext: c_short,
pub FocusOrder: c_short,
pub AutoFitFramesX: ImS8,
pub AutoFitFramesY: ImS8,
pub AutoFitOnlyGrows: bool,
pub AutoPosLastDirection: ImGuiDir,
pub HiddenFramesCanSkipItems: ImS8,
pub HiddenFramesCannotSkipItems: ImS8,
pub HiddenFramesForRenderOnly: ImS8,
pub DisableInputsFrames: ImS8,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub SetWindowPosVal: ImVec2,
pub SetWindowPosPivot: ImVec2,
pub IDStack: ImVector<ImGuiID>,
pub DC: ImGuiWindowTempData,
pub OuterRectClipped: ImRect,
pub InnerRect: ImRect,
pub InnerClipRect: ImRect,
pub WorkRect: ImRect,
pub ParentWorkRect: ImRect,
pub ClipRect: ImRect,
pub ContentRegionRect: ImRect,
pub HitTestHoleSize: ImVec2ih,
pub HitTestHoleOffset: ImVec2ih,
pub LastFrameActive: c_int,
pub LastFrameJustFocused: c_int,
pub LastTimeActive: f32,
pub ItemWidthDefault: f32,
pub StateStorage: ImGuiStorage,
pub ColumnsStorage: ImVector<ImGuiOldColumns>,
pub FontWindowScale: f32,
pub FontWindowScaleParents: f32,
pub FontRefSize: f32,
pub SettingsOffset: c_int,
pub DrawList: *mut ImDrawList,
pub DrawListInst: ImDrawList,
pub ParentWindow: *mut ImGuiWindow,
pub ParentWindowInBeginStack: *mut ImGuiWindow,
pub RootWindow: *mut ImGuiWindow,
pub RootWindowPopupTree: *mut ImGuiWindow,
pub RootWindowDockTree: *mut ImGuiWindow,
pub RootWindowForTitleBarHighlight: *mut ImGuiWindow,
pub RootWindowForNav: *mut ImGuiWindow,
pub ParentWindowForFocusRoute: *mut ImGuiWindow,
pub NavLastChildNavWindow: *mut ImGuiWindow,
pub NavLastIds: [ImGuiID; 2],
pub NavRectRel: [ImRect; 2],
pub NavPreferredScoringPosRel: [ImVec2; 2],
pub NavRootFocusScopeId: ImGuiID,
pub MemoryDrawListIdxCapacity: c_int,
pub MemoryDrawListVtxCapacity: c_int,
pub MemoryCompacted: bool,
pub _bitfield_align_2: [u8; 0],
pub _bitfield_2: __BindgenBitfieldUnit<[u8; 1]>,
pub DockOrder: c_short,
pub DockStyle: ImGuiWindowDockStyle,
pub DockNode: *mut ImGuiDockNode,
pub DockNodeAsHost: *mut ImGuiDockNode,
pub DockId: ImGuiID,
}Fields§
§Ctx: *mut ImGuiContext§Name: *mut c_char§ID: ImGuiID§Flags: ImGuiWindowFlags§FlagsPreviousFrame: ImGuiWindowFlags§ChildFlags: ImGuiChildFlags§WindowClass: ImGuiWindowClass§Viewport: *mut ImGuiViewportP§ViewportId: ImGuiID§ViewportPos: ImVec2§ViewportAllowPlatformMonitorExtend: c_int§Pos: ImVec2§Size: ImVec2§SizeFull: ImVec2§ContentSize: ImVec2§ContentSizeIdeal: ImVec2§ContentSizeExplicit: ImVec2§WindowPadding: ImVec2§WindowRounding: f32§WindowBorderSize: f32§TitleBarHeight: f32§MenuBarHeight: f32§DecoOuterSizeX1: f32§DecoOuterSizeY1: f32§DecoOuterSizeX2: f32§DecoOuterSizeY2: f32§DecoInnerSizeX1: f32§DecoInnerSizeY1: f32§NameBufLen: c_int§MoveId: ImGuiID§TabId: ImGuiID§ChildId: ImGuiID§PopupId: ImGuiID§Scroll: ImVec2§ScrollMax: ImVec2§ScrollTarget: ImVec2§ScrollTargetCenterRatio: ImVec2§ScrollTargetEdgeSnapDist: ImVec2§ScrollbarSizes: ImVec2§ScrollbarX: bool§ScrollbarY: bool§ScrollbarXStabilizeEnabled: bool§ScrollbarXStabilizeToggledHistory: ImU8§ViewportOwned: bool§Active: bool§WasActive: bool§WriteAccessed: bool§Collapsed: bool§WantCollapseToggle: bool§SkipItems: bool§SkipRefresh: bool§Appearing: bool§Hidden: bool§IsFallbackWindow: bool§IsExplicitChild: bool§HasCloseButton: bool§ResizeBorderHovered: c_schar§ResizeBorderHeld: c_schar§BeginCount: c_short§BeginCountPreviousFrame: c_short§BeginOrderWithinParent: c_short§BeginOrderWithinContext: c_short§FocusOrder: c_short§AutoFitFramesX: ImS8§AutoFitFramesY: ImS8§AutoFitOnlyGrows: bool§AutoPosLastDirection: ImGuiDir§HiddenFramesCanSkipItems: ImS8§HiddenFramesCannotSkipItems: ImS8§HiddenFramesForRenderOnly: ImS8§DisableInputsFrames: ImS8§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>§SetWindowPosVal: ImVec2§SetWindowPosPivot: ImVec2§IDStack: ImVector<ImGuiID>§DC: ImGuiWindowTempData§OuterRectClipped: ImRect§InnerRect: ImRect§InnerClipRect: ImRect§WorkRect: ImRect§ParentWorkRect: ImRect§ClipRect: ImRect§ContentRegionRect: ImRect§HitTestHoleSize: ImVec2ih§HitTestHoleOffset: ImVec2ih§LastFrameActive: c_int§LastFrameJustFocused: c_int§LastTimeActive: f32§ItemWidthDefault: f32§StateStorage: ImGuiStorage§ColumnsStorage: ImVector<ImGuiOldColumns>§FontWindowScale: f32§FontWindowScaleParents: f32§FontRefSize: f32§SettingsOffset: c_int§DrawList: *mut ImDrawList§DrawListInst: ImDrawList§ParentWindow: *mut ImGuiWindow§ParentWindowInBeginStack: *mut ImGuiWindow§RootWindow: *mut ImGuiWindow§RootWindowPopupTree: *mut ImGuiWindow§RootWindowDockTree: *mut ImGuiWindow§RootWindowForTitleBarHighlight: *mut ImGuiWindow§ParentWindowForFocusRoute: *mut ImGuiWindow§MemoryDrawListIdxCapacity: c_int§MemoryDrawListVtxCapacity: c_int§MemoryCompacted: bool§_bitfield_align_2: [u8; 0]§_bitfield_2: __BindgenBitfieldUnit<[u8; 1]>§DockOrder: c_short§DockStyle: ImGuiWindowDockStyle§DockNode: *mut ImGuiDockNode§DockNodeAsHost: *mut ImGuiDockNode§DockId: ImGuiIDImplementations§
Source§impl ImGuiWindow
impl ImGuiWindow
pub fn SetWindowPosAllowFlags(&self) -> ImGuiCond
pub fn set_SetWindowPosAllowFlags(&mut self, val: ImGuiCond)
pub unsafe fn SetWindowPosAllowFlags_raw(this: *const Self) -> ImGuiCond
pub unsafe fn set_SetWindowPosAllowFlags_raw(this: *mut Self, val: ImGuiCond)
pub fn SetWindowSizeAllowFlags(&self) -> ImGuiCond
pub fn set_SetWindowSizeAllowFlags(&mut self, val: ImGuiCond)
pub unsafe fn SetWindowSizeAllowFlags_raw(this: *const Self) -> ImGuiCond
pub unsafe fn set_SetWindowSizeAllowFlags_raw(this: *mut Self, val: ImGuiCond)
pub fn SetWindowCollapsedAllowFlags(&self) -> ImGuiCond
pub fn set_SetWindowCollapsedAllowFlags(&mut self, val: ImGuiCond)
pub unsafe fn SetWindowCollapsedAllowFlags_raw(this: *const Self) -> ImGuiCond
pub unsafe fn set_SetWindowCollapsedAllowFlags_raw( this: *mut Self, val: ImGuiCond, )
pub fn SetWindowDockAllowFlags(&self) -> ImGuiCond
pub fn set_SetWindowDockAllowFlags(&mut self, val: ImGuiCond)
pub unsafe fn SetWindowDockAllowFlags_raw(this: *const Self) -> ImGuiCond
pub unsafe fn set_SetWindowDockAllowFlags_raw(this: *mut Self, val: ImGuiCond)
pub fn new_bitfield_1( SetWindowPosAllowFlags: ImGuiCond, SetWindowSizeAllowFlags: ImGuiCond, SetWindowCollapsedAllowFlags: ImGuiCond, SetWindowDockAllowFlags: ImGuiCond, ) -> __BindgenBitfieldUnit<[u8; 4]>
pub fn DockIsActive(&self) -> bool
pub fn set_DockIsActive(&mut self, val: bool)
pub unsafe fn DockIsActive_raw(this: *const Self) -> bool
pub unsafe fn set_DockIsActive_raw(this: *mut Self, val: bool)
pub fn DockNodeIsVisible(&self) -> bool
pub fn set_DockNodeIsVisible(&mut self, val: bool)
pub unsafe fn DockNodeIsVisible_raw(this: *const Self) -> bool
pub unsafe fn set_DockNodeIsVisible_raw(this: *mut Self, val: bool)
pub fn DockTabIsVisible(&self) -> bool
pub fn set_DockTabIsVisible(&mut self, val: bool)
pub unsafe fn DockTabIsVisible_raw(this: *const Self) -> bool
pub unsafe fn set_DockTabIsVisible_raw(this: *mut Self, val: bool)
pub fn DockTabWantClose(&self) -> bool
pub fn set_DockTabWantClose(&mut self, val: bool)
pub unsafe fn DockTabWantClose_raw(this: *const Self) -> bool
pub unsafe fn set_DockTabWantClose_raw(this: *mut Self, val: bool)
pub fn new_bitfield_2( DockIsActive: bool, DockNodeIsVisible: bool, DockTabIsVisible: bool, DockTabWantClose: bool, ) -> __BindgenBitfieldUnit<[u8; 1]>
pub unsafe fn GetID( &mut self, str_: *const c_char, str_end: *const c_char, ) -> ImGuiID
pub unsafe fn GetID1(&mut self, ptr: *const c_void) -> ImGuiID
pub unsafe fn GetID2(&mut self, n: c_int) -> ImGuiID
pub unsafe fn GetIDFromPos(&mut self, p_abs: *const ImVec2) -> ImGuiID
pub unsafe fn GetIDFromRectangle(&mut self, r_abs: *const ImRect) -> ImGuiID
pub unsafe fn new(context: *mut ImGuiContext, name: *const c_char) -> Self
pub unsafe fn destruct(&mut self)
Auto Trait Implementations§
impl Freeze for ImGuiWindow
impl !RefUnwindSafe for ImGuiWindow
impl !Send for ImGuiWindow
impl !Sync for ImGuiWindow
impl Unpin for ImGuiWindow
impl !UnwindSafe for ImGuiWindow
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