Struct ImGuiViewport
#[repr(C)]pub struct ImGuiViewport {Show 17 fields
pub ID: u32,
pub Flags: i32,
pub Pos: ImVec2,
pub Size: ImVec2,
pub WorkPos: ImVec2,
pub WorkSize: ImVec2,
pub DpiScale: f32,
pub ParentViewportId: u32,
pub DrawData: *mut ImDrawData,
pub RendererUserData: *mut c_void,
pub PlatformUserData: *mut c_void,
pub PlatformHandle: *mut c_void,
pub PlatformHandleRaw: *mut c_void,
pub PlatformWindowCreated: bool,
pub PlatformRequestMove: bool,
pub PlatformRequestResize: bool,
pub PlatformRequestClose: bool,
}Fields§
§ID: u32§Flags: i32§Pos: ImVec2§Size: ImVec2§WorkPos: ImVec2§WorkSize: ImVec2§DpiScale: f32§ParentViewportId: u32§DrawData: *mut ImDrawData§RendererUserData: *mut c_void§PlatformUserData: *mut c_void§PlatformHandle: *mut c_void§PlatformHandleRaw: *mut c_void§PlatformWindowCreated: bool§PlatformRequestMove: bool§PlatformRequestResize: bool§PlatformRequestClose: boolTrait Implementations§
§impl Clone for ImGuiViewport
impl Clone for ImGuiViewport
§fn clone(&self) -> ImGuiViewport
fn clone(&self) -> ImGuiViewport
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for ImGuiViewport
impl Debug for ImGuiViewport
impl Copy for ImGuiViewport
Auto Trait Implementations§
impl Freeze for ImGuiViewport
impl RefUnwindSafe for ImGuiViewport
impl !Send for ImGuiViewport
impl !Sync for ImGuiViewport
impl Unpin for ImGuiViewport
impl UnwindSafe for ImGuiViewport
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)