[−][src]Struct makepad_render::Window
Fields
window_id: Option<usize>create_inner_size: Option<Vec2>create_position: Option<Vec2>create_title: StringMethods
impl Window[src]
pub fn proto(_cx: &mut Cx) -> Self[src]
pub fn begin_window(&mut self, cx: &mut Cx)[src]
pub fn get_inner_size(&mut self, cx: &mut Cx) -> Vec2[src]
pub fn get_position(&mut self, cx: &mut Cx) -> Option<Vec2>[src]
pub fn set_position(&mut self, cx: &mut Cx, pos: Vec2)[src]
pub fn handle_window(&mut self, _cx: &mut Cx, _event: &mut Event) -> bool[src]
pub fn redraw_window_area(&mut self, cx: &mut Cx)[src]
pub fn end_window(&mut self, cx: &mut Cx) -> Area[src]
pub fn minimize_window(&mut self, cx: &mut Cx)[src]
pub fn maximize_window(&mut self, cx: &mut Cx)[src]
pub fn is_fullscreen(&mut self, cx: &mut Cx) -> bool[src]
pub fn vr_is_presenting(&mut self, cx: &mut Cx) -> bool[src]
pub fn vr_start_presenting(&mut self, cx: &mut Cx)[src]
pub fn vr_stop_presenting(&mut self, cx: &mut Cx)[src]
pub fn is_topmost(&mut self, cx: &mut Cx) -> bool[src]
pub fn set_topmost(&mut self, cx: &mut Cx, topmost: bool)[src]
pub fn restore_window(&mut self, cx: &mut Cx)[src]
pub fn close_window(&mut self, cx: &mut Cx)[src]
Trait Implementations
Auto Trait Implementations
impl Send for Window
impl Sync for Window
impl Unpin for Window
impl UnwindSafe for Window
impl RefUnwindSafe for Window
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,