Struct imgui_sys::ImGuiViewport
source · #[repr(C)]pub struct ImGuiViewport {
pub Flags: ImGuiViewportFlags,
pub Pos: ImVec2,
pub Size: ImVec2,
pub WorkPos: ImVec2,
pub WorkSize: ImVec2,
pub PlatformHandleRaw: *mut c_void,
}
Fields§
§Flags: ImGuiViewportFlags
§Pos: ImVec2
§Size: ImVec2
§WorkPos: ImVec2
§WorkSize: ImVec2
§PlatformHandleRaw: *mut c_void
Trait Implementations§
source§impl Clone for ImGuiViewport
impl Clone for ImGuiViewport
source§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 moresource§impl Debug for ImGuiViewport
impl Debug for ImGuiViewport
source§impl Default for ImGuiViewport
impl Default for ImGuiViewport
source§impl PartialEq for ImGuiViewport
impl PartialEq for ImGuiViewport
source§fn eq(&self, other: &ImGuiViewport) -> bool
fn eq(&self, other: &ImGuiViewport) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ImGuiViewport
impl StructuralPartialEq 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