[][src]Struct tge::window::Window

pub struct Window { /* fields omitted */ }

Implementations

impl Window[src]

pub fn title(&self) -> &str[src]

pub fn set_title(&mut self, title: impl Into<String>)[src]

pub fn set_icon(&mut self, icon: Option<Icon>)[src]

pub fn inner_size(&self) -> LogicalSize[src]

pub fn set_inner_size(&mut self, size: impl Into<LogicalSize>)[src]

pub fn outer_size(&self) -> LogicalSize[src]

pub fn set_min_inner_size(&mut self, size: Option<impl Into<LogicalSize>>)[src]

pub fn set_max_inner_size(&mut self, size: Option<impl Into<LogicalSize>>)[src]

pub fn inner_position(&self) -> GameResult<LogicalPosition>[src]

pub fn outer_position(&self) -> GameResult<LogicalPosition>[src]

pub fn set_outer_position(&mut self, position: impl Into<LogicalPosition>)[src]

pub fn set_ime_position(&mut self, position: impl Into<LogicalPosition>)[src]

pub fn scale_factor(&self) -> f32[src]

pub fn fullscreen(&self) -> Option<FullscreenMode>[src]

pub fn is_fullscreen(&self) -> bool[src]

pub fn set_fullscreen(
    &mut self,
    fullscreen: Option<FullscreenMode>
) -> GameResult
[src]

pub fn is_resizable(&self) -> bool[src]

pub fn set_resizable(&mut self, resizable: bool)[src]

pub fn is_maximized(&self) -> bool[src]

pub fn set_maximized(&mut self, maximized: bool)[src]

pub fn is_transparent(&self) -> bool[src]

pub fn is_decorations(&self) -> bool[src]

pub fn set_decorations(&mut self, decorations: bool)[src]

pub fn is_always_on_top(&self) -> bool[src]

pub fn set_always_on_top(&mut self, always_on_top: bool)[src]

pub fn is_visible(&self) -> bool[src]

pub fn set_visible(&mut self, visible: bool)[src]

pub fn is_focused(&self) -> bool[src]

Auto Trait Implementations

impl !RefUnwindSafe for Window

impl !Send for Window

impl !Sync for Window

impl Unpin for Window

impl !UnwindSafe for Window

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> SetParameter for T

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.