Skip to main content

ImGuiWindowTempData

Struct ImGuiWindowTempData 

Source
#[repr(C)]
pub struct ImGuiWindowTempData {
Show 43 fields pub CursorPos: ImVec2_c, pub CursorPosPrevLine: ImVec2_c, pub CursorStartPos: ImVec2_c, pub CursorMaxPos: ImVec2_c, pub IdealMaxPos: ImVec2_c, pub CurrLineSize: ImVec2_c, pub PrevLineSize: ImVec2_c, pub CurrLineTextBaseOffset: f32, pub PrevLineTextBaseOffset: f32, pub IsSameLine: bool, pub IsSetPos: bool, pub Indent: ImVec1, pub ColumnsOffset: ImVec1, pub GroupOffset: ImVec1, pub CursorStartPosLossyness: ImVec2_c, pub NavLayerCurrent: ImGuiNavLayer, pub NavLayersActiveMask: c_short, pub NavLayersActiveMaskNext: c_short, pub NavIsScrollPushableX: bool, pub NavHideHighlightOneFrame: bool, pub NavWindowHasScrollY: bool, pub MenuBarAppending: bool, pub MenuBarOffset: ImVec2_c, pub MenuColumns: ImGuiMenuColumns, pub TreeDepth: c_int, pub TreeHasStackDataDepthMask: ImU32, pub TreeRecordsClippedNodesY2Mask: ImU32, pub ChildWindows: ImVector_ImGuiWindowPtr, pub StateStorage: *mut ImGuiStorage, pub CurrentColumns: *mut ImGuiOldColumns, pub CurrentTableIdx: c_int, pub LayoutType: ImGuiLayoutType, pub ParentLayoutType: ImGuiLayoutType, pub ModalDimBgColor: ImU32, pub WindowItemStatusFlags: ImGuiItemStatusFlags, pub ChildItemStatusFlags: ImGuiItemStatusFlags, pub DockTabItemStatusFlags: ImGuiItemStatusFlags, pub DockTabItemRect: ImRect_c, pub ItemWidth: f32, pub ItemWidthDefault: f32, pub TextWrapPos: f32, pub ItemWidthStack: ImVector_float, pub TextWrapPosStack: ImVector_float,
}

Fields§

§CursorPos: ImVec2_c§CursorPosPrevLine: ImVec2_c§CursorStartPos: ImVec2_c§CursorMaxPos: ImVec2_c§IdealMaxPos: ImVec2_c§CurrLineSize: ImVec2_c§PrevLineSize: ImVec2_c§CurrLineTextBaseOffset: f32§PrevLineTextBaseOffset: f32§IsSameLine: bool§IsSetPos: bool§Indent: ImVec1§ColumnsOffset: ImVec1§GroupOffset: ImVec1§CursorStartPosLossyness: ImVec2_c§NavLayerCurrent: ImGuiNavLayer§NavLayersActiveMask: c_short§NavLayersActiveMaskNext: c_short§NavIsScrollPushableX: bool§NavHideHighlightOneFrame: bool§NavWindowHasScrollY: bool§MenuBarAppending: bool§MenuBarOffset: ImVec2_c§MenuColumns: ImGuiMenuColumns§TreeDepth: c_int§TreeHasStackDataDepthMask: ImU32§TreeRecordsClippedNodesY2Mask: ImU32§ChildWindows: ImVector_ImGuiWindowPtr§StateStorage: *mut ImGuiStorage§CurrentColumns: *mut ImGuiOldColumns§CurrentTableIdx: c_int§LayoutType: ImGuiLayoutType§ParentLayoutType: ImGuiLayoutType§ModalDimBgColor: ImU32§WindowItemStatusFlags: ImGuiItemStatusFlags§ChildItemStatusFlags: ImGuiItemStatusFlags§DockTabItemStatusFlags: ImGuiItemStatusFlags§DockTabItemRect: ImRect_c§ItemWidth: f32§ItemWidthDefault: f32§TextWrapPos: f32§ItemWidthStack: ImVector_float§TextWrapPosStack: ImVector_float

Trait Implementations§

Source§

impl Clone for ImGuiWindowTempData

Source§

fn clone(&self) -> ImGuiWindowTempData

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Copy for ImGuiWindowTempData

Source§

impl Debug for ImGuiWindowTempData

Source§

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

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

impl Default for ImGuiWindowTempData

Source§

fn default() -> Self

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

impl PartialEq for ImGuiWindowTempData

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · 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 StructuralPartialEq for ImGuiWindowTempData

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.