[][src]Struct makepad_render::CxWindow

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: CxWindowStatewindow_command: CxWindowCmdwindow_set_position: Option<Vec2>window_topmost: Option<bool>window_geom: WindowGeommain_pass_id: Option<usize>

Methods

impl CxWindow[src]

pub fn get_inner_size(&mut self) -> Vec2[src]

pub fn get_position(&mut self) -> Option<Vec2>[src]

pub fn get_dpi_factor(&mut self) -> Option<f32>[src]

Trait Implementations

impl Clone for CxWindow[src]

impl Default for CxWindow[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.