#[repr(C)]
pub struct ImGuiWindow {
Show 98 fields pub Ctx: *mut ImGuiContext, pub Name: *mut c_char, pub ID: ImGuiID, pub Flags: ImGuiWindowFlags, pub ChildFlags: ImGuiChildFlags, pub Viewport: *mut ImGuiViewportP, 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 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 ChildId: 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 Active: bool, pub WasActive: bool, pub WriteAccessed: bool, pub Collapsed: bool, pub WantCollapseToggle: bool, pub SkipItems: 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 PopupId: ImGuiID, 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; 3]>, 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 LastTimeActive: f32, pub ItemWidthDefault: f32, pub StateStorage: ImGuiStorage, pub ColumnsStorage: ImVector<ImGuiOldColumns>, pub FontWindowScale: 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 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,
}

Fields§

§Ctx: *mut ImGuiContext§Name: *mut c_char§ID: ImGuiID§Flags: ImGuiWindowFlags§ChildFlags: ImGuiChildFlags§Viewport: *mut ImGuiViewportP§Pos: ImVec2§Size: ImVec2§SizeFull: ImVec2§ContentSize: ImVec2§ContentSizeIdeal: ImVec2§ContentSizeExplicit: ImVec2§WindowPadding: ImVec2§WindowRounding: f32§WindowBorderSize: f32§DecoOuterSizeX1: f32§DecoOuterSizeY1: f32§DecoOuterSizeX2: f32§DecoOuterSizeY2: f32§DecoInnerSizeX1: f32§DecoInnerSizeY1: f32§NameBufLen: c_int§MoveId: ImGuiID§ChildId: ImGuiID§Scroll: ImVec2§ScrollMax: ImVec2§ScrollTarget: ImVec2§ScrollTargetCenterRatio: ImVec2§ScrollTargetEdgeSnapDist: ImVec2§ScrollbarSizes: ImVec2§ScrollbarX: bool§ScrollbarY: bool§Active: bool§WasActive: bool§WriteAccessed: bool§Collapsed: bool§WantCollapseToggle: bool§SkipItems: 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§PopupId: ImGuiID§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; 3]>§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§LastTimeActive: f32§ItemWidthDefault: f32§StateStorage: ImGuiStorage§ColumnsStorage: ImVector<ImGuiOldColumns>§FontWindowScale: f32§SettingsOffset: c_int§DrawList: *mut ImDrawList§DrawListInst: ImDrawList§ParentWindow: *mut ImGuiWindow§ParentWindowInBeginStack: *mut ImGuiWindow§RootWindow: *mut ImGuiWindow§RootWindowPopupTree: *mut ImGuiWindow§RootWindowForTitleBarHighlight: *mut ImGuiWindow§RootWindowForNav: *mut ImGuiWindow§ParentWindowForFocusRoute: *mut ImGuiWindow§NavLastChildNavWindow: *mut ImGuiWindow§NavLastIds: [ImGuiID; 2]§NavRectRel: [ImRect; 2]§NavPreferredScoringPosRel: [ImVec2; 2]§NavRootFocusScopeId: ImGuiID§MemoryDrawListIdxCapacity: c_int§MemoryDrawListVtxCapacity: c_int§MemoryCompacted: bool

Implementations§

source§

impl ImGuiWindow

source

pub fn SetWindowPosAllowFlags(&self) -> ImGuiCond

source

pub fn set_SetWindowPosAllowFlags(&mut self, val: ImGuiCond)

source

pub fn SetWindowSizeAllowFlags(&self) -> ImGuiCond

source

pub fn set_SetWindowSizeAllowFlags(&mut self, val: ImGuiCond)

source

pub fn SetWindowCollapsedAllowFlags(&self) -> ImGuiCond

source

pub fn set_SetWindowCollapsedAllowFlags(&mut self, val: ImGuiCond)

source

pub fn new_bitfield_1( SetWindowPosAllowFlags: ImGuiCond, SetWindowSizeAllowFlags: ImGuiCond, SetWindowCollapsedAllowFlags: ImGuiCond ) -> __BindgenBitfieldUnit<[u8; 3]>

source

pub unsafe fn GetID( &mut self, str_: *const c_char, str_end: *const c_char ) -> ImGuiID

source

pub unsafe fn GetID1(&mut self, ptr: *const c_void) -> ImGuiID

source

pub unsafe fn GetID2(&mut self, n: c_int) -> ImGuiID

source

pub unsafe fn GetIDFromRectangle(&mut self, r_abs: *const ImRect) -> ImGuiID

source

pub unsafe fn new(context: *mut ImGuiContext, name: *const c_char) -> Self

source

pub unsafe fn destruct(&mut self)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.