[−][src]Struct tge::window::Window
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]
&mut self,
fullscreen: Option<FullscreenMode>
) -> GameResult
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]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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>,