ImGuiWindow

Struct ImGuiWindow 

Source
#[repr(C)]
pub struct ImGuiWindow {
Show 122 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_c, pub ViewportAllowPlatformMonitorExtend: c_int, pub Pos: ImVec2_c, pub Size: ImVec2_c, pub SizeFull: ImVec2_c, pub ContentSize: ImVec2_c, pub ContentSizeIdeal: ImVec2_c, pub ContentSizeExplicit: ImVec2_c, pub WindowPadding: ImVec2_c, 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_c, pub ScrollMax: ImVec2_c, pub ScrollTarget: ImVec2_c, pub ScrollTargetCenterRatio: ImVec2_c, pub ScrollTargetEdgeSnapDist: ImVec2_c, pub ScrollbarSizes: ImVec2_c, 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 AutoPosLastDirection: ImGuiDir, pub AutoFitFramesX: ImS8, pub AutoFitFramesY: ImS8, pub AutoFitOnlyGrows: bool, pub HiddenFramesCanSkipItems: ImS8, pub HiddenFramesCannotSkipItems: ImS8, pub HiddenFramesForRenderOnly: ImS8, pub DisableInputsFrames: ImS8, pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 5]>, pub __bindgen_padding_0: u32, pub SetWindowPosVal: ImVec2_c, pub SetWindowPosPivot: ImVec2_c, pub IDStack: ImVector_ImGuiID, pub DC: ImGuiWindowTempData, pub OuterRectClipped: ImRect_c, pub InnerRect: ImRect_c, pub InnerClipRect: ImRect_c, pub WorkRect: ImRect_c, pub ParentWorkRect: ImRect_c, pub ClipRect: ImRect_c, pub ContentRegionRect: ImRect_c, 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_c; 2], pub NavPreferredScoringPosRel: [ImVec2_c; 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_c§ViewportAllowPlatformMonitorExtend: c_int§Pos: ImVec2_c§Size: ImVec2_c§SizeFull: ImVec2_c§ContentSize: ImVec2_c§ContentSizeIdeal: ImVec2_c§ContentSizeExplicit: ImVec2_c§WindowPadding: ImVec2_c§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_c§ScrollMax: ImVec2_c§ScrollTarget: ImVec2_c§ScrollTargetCenterRatio: ImVec2_c§ScrollTargetEdgeSnapDist: ImVec2_c§ScrollbarSizes: ImVec2_c§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§AutoPosLastDirection: ImGuiDir§AutoFitFramesX: ImS8§AutoFitFramesY: ImS8§AutoFitOnlyGrows: bool§HiddenFramesCanSkipItems: ImS8§HiddenFramesCannotSkipItems: ImS8§HiddenFramesForRenderOnly: ImS8§DisableInputsFrames: ImS8§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 5]>§__bindgen_padding_0: u32§SetWindowPosVal: ImVec2_c§SetWindowPosPivot: ImVec2_c§IDStack: ImVector_ImGuiID§DC: ImGuiWindowTempData§OuterRectClipped: ImRect_c§InnerRect: ImRect_c§InnerClipRect: ImRect_c§WorkRect: ImRect_c§ParentWorkRect: ImRect_c§ClipRect: ImRect_c§ContentRegionRect: ImRect_c§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§RootWindowForNav: *mut ImGuiWindow§ParentWindowForFocusRoute: *mut ImGuiWindow§NavLastChildNavWindow: *mut ImGuiWindow§NavLastIds: [ImGuiID; 2]§NavRectRel: [ImRect_c; 2]§NavPreferredScoringPosRel: [ImVec2_c; 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

Implementations§

Source§

impl ImGuiWindow

Source

pub fn BgClickFlags(&self) -> ImGuiWindowBgClickFlags

Source

pub fn set_BgClickFlags(&mut self, val: ImGuiWindowBgClickFlags)

Source

pub unsafe fn BgClickFlags_raw(this: *const Self) -> ImGuiWindowBgClickFlags

Source

pub unsafe fn set_BgClickFlags_raw( this: *mut Self, val: ImGuiWindowBgClickFlags, )

Source

pub fn SetWindowPosAllowFlags(&self) -> ImGuiCond

Source

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

Source

pub unsafe fn SetWindowPosAllowFlags_raw(this: *const Self) -> ImGuiCond

Source

pub unsafe fn set_SetWindowPosAllowFlags_raw(this: *mut Self, val: ImGuiCond)

Source

pub fn SetWindowSizeAllowFlags(&self) -> ImGuiCond

Source

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

Source

pub unsafe fn SetWindowSizeAllowFlags_raw(this: *const Self) -> ImGuiCond

Source

pub unsafe fn set_SetWindowSizeAllowFlags_raw(this: *mut Self, val: ImGuiCond)

Source

pub fn SetWindowCollapsedAllowFlags(&self) -> ImGuiCond

Source

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

Source

pub unsafe fn SetWindowCollapsedAllowFlags_raw(this: *const Self) -> ImGuiCond

Source

pub unsafe fn set_SetWindowCollapsedAllowFlags_raw( this: *mut Self, val: ImGuiCond, )

Source

pub fn SetWindowDockAllowFlags(&self) -> ImGuiCond

Source

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

Source

pub unsafe fn SetWindowDockAllowFlags_raw(this: *const Self) -> ImGuiCond

Source

pub unsafe fn set_SetWindowDockAllowFlags_raw(this: *mut Self, val: ImGuiCond)

Source

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

Source

pub fn DockIsActive(&self) -> bool

Source

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

Source

pub unsafe fn DockIsActive_raw(this: *const Self) -> bool

Source

pub unsafe fn set_DockIsActive_raw(this: *mut Self, val: bool)

Source

pub fn DockNodeIsVisible(&self) -> bool

Source

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

Source

pub unsafe fn DockNodeIsVisible_raw(this: *const Self) -> bool

Source

pub unsafe fn set_DockNodeIsVisible_raw(this: *mut Self, val: bool)

Source

pub fn DockTabIsVisible(&self) -> bool

Source

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

Source

pub unsafe fn DockTabIsVisible_raw(this: *const Self) -> bool

Source

pub unsafe fn set_DockTabIsVisible_raw(this: *mut Self, val: bool)

Source

pub fn DockTabWantClose(&self) -> bool

Source

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

Source

pub unsafe fn DockTabWantClose_raw(this: *const Self) -> bool

Source

pub unsafe fn set_DockTabWantClose_raw(this: *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 duplicate 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 Default for ImGuiWindow

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl PartialEq for ImGuiWindow

Source§

fn eq(&self, other: &ImGuiWindow) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for ImGuiWindow

Source§

impl StructuralPartialEq 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, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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.