imgui_sys

Struct ImGuiWindow

source
#[repr(C)]
pub struct ImGuiWindow {
Show 116 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 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 Scroll: ImVec2, pub ScrollMax: ImVec2, pub ScrollTarget: ImVec2, pub ScrollTargetCenterRatio: ImVec2, pub ScrollTargetEdgeSnapDist: ImVec2, pub ScrollbarSizes: ImVec2, pub ScrollbarX: bool, pub ScrollbarY: bool, pub ViewportOwned: 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; 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 FontDpiScale: 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 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, pub DockTabItemStatusFlags: ImGuiItemStatusFlags, pub DockTabItemRect: ImRect,
}

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§DecoOuterSizeX1: f32§DecoOuterSizeY1: f32§DecoOuterSizeX2: f32§DecoOuterSizeY2: f32§DecoInnerSizeX1: f32§DecoInnerSizeY1: f32§NameBufLen: c_int§MoveId: ImGuiID§TabId: ImGuiID§ChildId: ImGuiID§Scroll: ImVec2§ScrollMax: ImVec2§ScrollTarget: ImVec2§ScrollTargetCenterRatio: ImVec2§ScrollTargetEdgeSnapDist: ImVec2§ScrollbarSizes: ImVec2§ScrollbarX: bool§ScrollbarY: bool§ViewportOwned: 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; 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§FontDpiScale: 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§RootWindowForNav: *mut ImGuiWindow§NavLastChildNavWindow: *mut ImGuiWindow§NavLastIds: [ImGuiID; 2]§NavRectRel: [ImRect; 2]§NavPreferredScoringPosRel: [ImVec2; 2]§NavRootFocusScopeId: ImGuiID§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: ImGuiID§DockTabItemStatusFlags: ImGuiItemStatusFlags§DockTabItemRect: ImRect

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 SetWindowDockAllowFlags(&self) -> ImGuiCond

source

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

source

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

source

pub fn DockIsActive(&self) -> bool

source

pub fn set_DockIsActive(&mut self, val: bool)

source

pub fn DockNodeIsVisible(&self) -> bool

source

pub fn set_DockNodeIsVisible(&mut self, val: bool)

source

pub fn DockTabIsVisible(&self) -> bool

source

pub fn set_DockTabIsVisible(&mut self, val: bool)

source

pub fn DockTabWantClose(&self) -> bool

source

pub fn set_DockTabWantClose(&mut self, val: bool)

source

pub fn new_bitfield_2( DockIsActive: bool, DockNodeIsVisible: bool, DockTabIsVisible: bool, DockTabWantClose: bool, ) -> __BindgenBitfieldUnit<[u8; 1]>

Trait Implementations§

source§

impl Clone for ImGuiWindow

source§

fn clone(&self) -> ImGuiWindow

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ImGuiWindow

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for ImGuiWindow

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> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

source§

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>,

source§

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.