Struct imgui::PlatformMonitor
source · #[repr(C)]pub struct PlatformMonitor {
pub main_pos: [f32; 2],
pub main_size: [f32; 2],
pub work_pos: [f32; 2],
pub work_size: [f32; 2],
pub dpi_scale: f32,
}
Expand description
Describes a monitor that can be used by ImGui.
Fields§
§main_pos: [f32; 2]
Position of the monitor on the virtual desktop.
main_size: [f32; 2]
Size of the monitor on the virtual desktop.
work_pos: [f32; 2]
Working position of the monitor, should exclude task bar etc.
Set to main_pos
if not known.
work_size: [f32; 2]
Working size of the monitor, should exclude task bar etc.
Set to work_size
if not known.
dpi_scale: f32
Auto Trait Implementations§
impl Freeze for PlatformMonitor
impl RefUnwindSafe for PlatformMonitor
impl Send for PlatformMonitor
impl Sync for PlatformMonitor
impl Unpin for PlatformMonitor
impl UnwindSafe for PlatformMonitor
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