imgui::c

Struct ImGuiTable

#[repr(C)]
pub struct ImGuiTable {
Show 112 fields pub ID: u32, pub Flags: i32, pub RawData: *mut c_void, pub TempData: *mut ImGuiTableTempData, pub Columns: ImSpan_ImGuiTableColumn, pub DisplayOrderToIndex: ImSpan_ImGuiTableColumnIdx, pub RowCellData: ImSpan_ImGuiTableCellData, pub EnabledMaskByDisplayOrder: *mut u32, pub EnabledMaskByIndex: *mut u32, pub VisibleMaskByIndex: *mut u32, pub SettingsLoadedFlags: i32, pub SettingsOffset: i32, pub LastFrameActive: i32, pub ColumnsCount: i32, pub CurrentRow: i32, pub CurrentColumn: i32, pub InstanceCurrent: i16, pub InstanceInteracted: i16, pub RowPosY1: f32, pub RowPosY2: f32, pub RowMinHeight: f32, pub RowCellPaddingY: f32, pub RowTextBaseline: f32, pub RowIndentOffsetX: f32, pub _bitfield_align_1: [u16; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>, pub RowBgColorCounter: i32, pub RowBgColor: [u32; 2], pub BorderColorStrong: u32, pub BorderColorLight: u32, pub BorderX1: f32, pub BorderX2: f32, pub HostIndentX: f32, pub MinColumnWidth: f32, pub OuterPaddingX: f32, pub CellPaddingX: f32, pub CellSpacingX1: f32, pub CellSpacingX2: f32, pub InnerWidth: f32, pub ColumnsGivenWidth: f32, pub ColumnsAutoFitWidth: f32, pub ColumnsStretchSumWeights: f32, pub ResizedColumnNextWidth: f32, pub ResizeLockMinContentsX2: f32, pub RefScale: f32, pub AngledHeadersHeight: f32, pub AngledHeadersSlope: f32, pub OuterRect: ImRect, pub InnerRect: ImRect, pub WorkRect: ImRect, pub InnerClipRect: ImRect, pub BgClipRect: ImRect, pub Bg0ClipRectForDrawCmd: ImRect, pub Bg2ClipRectForDrawCmd: ImRect, pub HostClipRect: ImRect, pub HostBackupInnerClipRect: ImRect, pub OuterWindow: *mut ImGuiWindow, pub InnerWindow: *mut ImGuiWindow, pub ColumnsNames: ImGuiTextBuffer, pub DrawSplitter: *mut ImDrawListSplitter, pub InstanceDataFirst: ImGuiTableInstanceData, pub InstanceDataExtra: ImVector_ImGuiTableInstanceData, pub SortSpecsSingle: ImGuiTableColumnSortSpecs, pub SortSpecsMulti: ImVector_ImGuiTableColumnSortSpecs, pub SortSpecs: ImGuiTableSortSpecs, pub SortSpecsCount: i16, pub ColumnsEnabledCount: i16, pub ColumnsEnabledFixedCount: i16, pub DeclColumnsCount: i16, pub AngledHeadersCount: i16, pub HoveredColumnBody: i16, pub HoveredColumnBorder: i16, pub HighlightColumnHeader: i16, pub AutoFitSingleColumn: i16, pub ResizedColumn: i16, pub LastResizedColumn: i16, pub HeldHeaderColumn: i16, pub ReorderColumn: i16, pub ReorderColumnDir: i16, pub LeftMostEnabledColumn: i16, pub RightMostEnabledColumn: i16, pub LeftMostStretchedColumn: i16, pub RightMostStretchedColumn: i16, pub ContextPopupColumn: i16, pub FreezeRowsRequest: i16, pub FreezeRowsCount: i16, pub FreezeColumnsRequest: i16, pub FreezeColumnsCount: i16, pub RowCellDataCurrent: i16, pub DummyDrawChannel: u16, pub Bg2DrawChannelCurrent: u16, pub Bg2DrawChannelUnfrozen: u16, pub IsLayoutLocked: bool, pub IsInsideRow: bool, pub IsInitializing: bool, pub IsSortSpecsDirty: bool, pub IsUsingHeaders: bool, pub IsContextPopupOpen: bool, pub DisableDefaultContextMenu: bool, pub IsSettingsRequestLoad: bool, pub IsSettingsDirty: bool, pub IsDefaultDisplayOrder: bool, pub IsResetAllRequest: bool, pub IsResetDisplayOrderRequest: bool, pub IsUnfrozenRows: bool, pub IsDefaultSizingPolicy: bool, pub IsActiveIdAliveBeforeTable: bool, pub IsActiveIdInTable: bool, pub HasScrollbarYCurr: bool, pub HasScrollbarYPrev: bool, pub MemoryCompacted: bool, pub HostSkipItems: bool,
}

Fields§

§ID: u32§Flags: i32§RawData: *mut c_void§TempData: *mut ImGuiTableTempData§Columns: ImSpan_ImGuiTableColumn§DisplayOrderToIndex: ImSpan_ImGuiTableColumnIdx§RowCellData: ImSpan_ImGuiTableCellData§EnabledMaskByDisplayOrder: *mut u32§EnabledMaskByIndex: *mut u32§VisibleMaskByIndex: *mut u32§SettingsLoadedFlags: i32§SettingsOffset: i32§LastFrameActive: i32§ColumnsCount: i32§CurrentRow: i32§CurrentColumn: i32§InstanceCurrent: i16§InstanceInteracted: i16§RowPosY1: f32§RowPosY2: f32§RowMinHeight: f32§RowCellPaddingY: f32§RowTextBaseline: f32§RowIndentOffsetX: f32§_bitfield_align_1: [u16; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>§RowBgColorCounter: i32§RowBgColor: [u32; 2]§BorderColorStrong: u32§BorderColorLight: u32§BorderX1: f32§BorderX2: f32§HostIndentX: f32§MinColumnWidth: f32§OuterPaddingX: f32§CellPaddingX: f32§CellSpacingX1: f32§CellSpacingX2: f32§InnerWidth: f32§ColumnsGivenWidth: f32§ColumnsAutoFitWidth: f32§ColumnsStretchSumWeights: f32§ResizedColumnNextWidth: f32§ResizeLockMinContentsX2: f32§RefScale: f32§AngledHeadersHeight: f32§AngledHeadersSlope: f32§OuterRect: ImRect§InnerRect: ImRect§WorkRect: ImRect§InnerClipRect: ImRect§BgClipRect: ImRect§Bg0ClipRectForDrawCmd: ImRect§Bg2ClipRectForDrawCmd: ImRect§HostClipRect: ImRect§HostBackupInnerClipRect: ImRect§OuterWindow: *mut ImGuiWindow§InnerWindow: *mut ImGuiWindow§ColumnsNames: ImGuiTextBuffer§DrawSplitter: *mut ImDrawListSplitter§InstanceDataFirst: ImGuiTableInstanceData§InstanceDataExtra: ImVector_ImGuiTableInstanceData§SortSpecsSingle: ImGuiTableColumnSortSpecs§SortSpecsMulti: ImVector_ImGuiTableColumnSortSpecs§SortSpecs: ImGuiTableSortSpecs§SortSpecsCount: i16§ColumnsEnabledCount: i16§ColumnsEnabledFixedCount: i16§DeclColumnsCount: i16§AngledHeadersCount: i16§HoveredColumnBody: i16§HoveredColumnBorder: i16§HighlightColumnHeader: i16§AutoFitSingleColumn: i16§ResizedColumn: i16§LastResizedColumn: i16§HeldHeaderColumn: i16§ReorderColumn: i16§ReorderColumnDir: i16§LeftMostEnabledColumn: i16§RightMostEnabledColumn: i16§LeftMostStretchedColumn: i16§RightMostStretchedColumn: i16§ContextPopupColumn: i16§FreezeRowsRequest: i16§FreezeRowsCount: i16§FreezeColumnsRequest: i16§FreezeColumnsCount: i16§RowCellDataCurrent: i16§DummyDrawChannel: u16§Bg2DrawChannelCurrent: u16§Bg2DrawChannelUnfrozen: u16§IsLayoutLocked: bool§IsInsideRow: bool§IsInitializing: bool§IsSortSpecsDirty: bool§IsUsingHeaders: bool§IsContextPopupOpen: bool§DisableDefaultContextMenu: bool§IsSettingsRequestLoad: bool§IsSettingsDirty: bool§IsDefaultDisplayOrder: bool§IsResetAllRequest: bool§IsResetDisplayOrderRequest: bool§IsUnfrozenRows: bool§IsDefaultSizingPolicy: bool§IsActiveIdAliveBeforeTable: bool§IsActiveIdInTable: bool§HasScrollbarYCurr: bool§HasScrollbarYPrev: bool§MemoryCompacted: bool§HostSkipItems: bool

Implementations§

§

impl ImGuiTable

pub fn RowFlags(&self) -> i32

pub fn set_RowFlags(&mut self, val: i32)

pub fn LastRowFlags(&self) -> i32

pub fn set_LastRowFlags(&mut self, val: i32)

pub fn new_bitfield_1( RowFlags: i32, LastRowFlags: i32, ) -> __BindgenBitfieldUnit<[u8; 4]>

Trait Implementations§

§

impl Clone for ImGuiTable

§

fn clone(&self) -> ImGuiTable

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
§

impl Debug for ImGuiTable

§

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

Formats the value using the given formatter. Read more
§

impl Copy for ImGuiTable

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.