imgui::c

Struct ImGuiWindowTempData

#[repr(C)]
pub struct ImGuiWindowTempData {
Show 36 fields pub CursorPos: ImVec2, pub CursorPosPrevLine: ImVec2, pub CursorStartPos: ImVec2, pub CursorMaxPos: ImVec2, pub IdealMaxPos: ImVec2, pub CurrLineSize: ImVec2, pub PrevLineSize: ImVec2, pub CurrLineTextBaseOffset: f32, pub PrevLineTextBaseOffset: f32, pub IsSameLine: bool, pub IsSetPos: bool, pub Indent: ImVec1, pub ColumnsOffset: ImVec1, pub GroupOffset: ImVec1, pub CursorStartPosLossyness: ImVec2, pub NavLayerCurrent: u32, pub NavLayersActiveMask: i16, pub NavLayersActiveMaskNext: i16, pub NavIsScrollPushableX: bool, pub NavHideHighlightOneFrame: bool, pub NavWindowHasScrollY: bool, pub MenuBarAppending: bool, pub MenuBarOffset: ImVec2, pub MenuColumns: ImGuiMenuColumns, pub TreeDepth: i32, pub TreeJumpToParentOnPopMask: u32, pub ChildWindows: ImVector_ImGuiWindowPtr, pub StateStorage: *mut ImGuiStorage, pub CurrentColumns: *mut ImGuiOldColumns, pub CurrentTableIdx: i32, pub LayoutType: i32, pub ParentLayoutType: i32, pub ItemWidth: f32, pub TextWrapPos: f32, pub ItemWidthStack: ImVector_float, pub TextWrapPosStack: ImVector_float,
}

Fields§

§CursorPos: ImVec2§CursorPosPrevLine: ImVec2§CursorStartPos: ImVec2§CursorMaxPos: ImVec2§IdealMaxPos: ImVec2§CurrLineSize: ImVec2§PrevLineSize: ImVec2§CurrLineTextBaseOffset: f32§PrevLineTextBaseOffset: f32§IsSameLine: bool§IsSetPos: bool§Indent: ImVec1§ColumnsOffset: ImVec1§GroupOffset: ImVec1§CursorStartPosLossyness: ImVec2§NavLayerCurrent: u32§NavLayersActiveMask: i16§NavLayersActiveMaskNext: i16§NavIsScrollPushableX: bool§NavHideHighlightOneFrame: bool§NavWindowHasScrollY: bool§MenuBarAppending: bool§MenuBarOffset: ImVec2§MenuColumns: ImGuiMenuColumns§TreeDepth: i32§TreeJumpToParentOnPopMask: u32§ChildWindows: ImVector_ImGuiWindowPtr§StateStorage: *mut ImGuiStorage§CurrentColumns: *mut ImGuiOldColumns§CurrentTableIdx: i32§LayoutType: i32§ParentLayoutType: i32§ItemWidth: f32§TextWrapPos: f32§ItemWidthStack: ImVector_float§TextWrapPosStack: ImVector_float

Trait Implementations§

§

impl Clone for ImGuiWindowTempData

§

fn clone(&self) -> ImGuiWindowTempData

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 ImGuiWindowTempData

§

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

Formats the value using the given formatter. Read more
§

impl Copy 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, 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.