pub struct CxWindow {
pub window_state: CxWindowState,
pub window_command: CxWindowCmd,
pub window_set_position: Option<Vec2>,
pub window_topmost: Option<bool>,
pub window_geom: WindowGeom,
pub main_pass_id: Option<usize>,
}
Fields§
§window_state: CxWindowState
§window_command: CxWindowCmd
§window_set_position: Option<Vec2>
§window_topmost: Option<bool>
§window_geom: WindowGeom
§main_pass_id: Option<usize>
Implementations§
Source§impl CxWindow
impl CxWindow
pub fn get_inner_size(&mut self) -> Vec2
pub fn get_position(&mut self) -> Option<Vec2>
pub fn get_dpi_factor(&mut self) -> Option<f32>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CxWindow
impl RefUnwindSafe for CxWindow
impl Send for CxWindow
impl Sync for CxWindow
impl Unpin for CxWindow
impl UnwindSafe for CxWindow
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