ImGuiViewportP

Struct ImGuiViewportP 

Source
#[repr(C)]
pub struct ImGuiViewportP {
Show 23 fields pub _base: ImGuiViewport, pub Window: *mut ImGuiWindow, pub Idx: c_int, pub LastFrameActive: c_int, pub LastFocusedStampCount: c_int, pub LastNameHash: ImGuiID, pub LastPos: ImVec2, pub LastSize: ImVec2, pub Alpha: f32, pub LastAlpha: f32, pub LastFocusedHadNavWindow: bool, pub PlatformMonitor: c_short, pub BgFgDrawListsLastFrame: [c_int; 2], pub BgFgDrawLists: [*mut ImDrawList; 2], pub DrawDataP: ImDrawData, pub DrawDataBuilder: ImDrawDataBuilder, pub LastPlatformPos: ImVec2, pub LastPlatformSize: ImVec2, pub LastRendererSize: ImVec2, pub WorkInsetMin: ImVec2, pub WorkInsetMax: ImVec2, pub BuildWorkInsetMin: ImVec2, pub BuildWorkInsetMax: ImVec2,
}

Fields§

§_base: ImGuiViewport§Window: *mut ImGuiWindow§Idx: c_int§LastFrameActive: c_int§LastFocusedStampCount: c_int§LastNameHash: ImGuiID§LastPos: ImVec2§LastSize: ImVec2§Alpha: f32§LastAlpha: f32§LastFocusedHadNavWindow: bool§PlatformMonitor: c_short§BgFgDrawListsLastFrame: [c_int; 2]§BgFgDrawLists: [*mut ImDrawList; 2]§DrawDataP: ImDrawData§DrawDataBuilder: ImDrawDataBuilder§LastPlatformPos: ImVec2§LastPlatformSize: ImVec2§LastRendererSize: ImVec2§WorkInsetMin: ImVec2§WorkInsetMax: ImVec2§BuildWorkInsetMin: ImVec2§BuildWorkInsetMax: ImVec2

Trait Implementations§

Source§

impl Debug for ImGuiViewportP

Source§

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

Formats the value using the given formatter. Read more

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