[−][src]Enum luminance_windowing::WindowDim
Dimension metrics.
Windowed(width, height)
opens in windowed mode with the wished resolution.Fullscreen
opens in fullscreen mode by using the primary monitor resolution.FullscreenRestricted(width, height)
is a mix betweenWindowed(width, height)
andFullscreen
. It opens in fullscreen mode by using the wished resolution.
Variants
Windowed(u32, u32)
Windowed mode.
Fullscreen
Fullscreen mode (adapt to your screen).
FullscreenRestricted(u32, u32)
Fullscreen mode with restricted viewport dimension.
Trait Implementations
impl Clone for WindowDim
[src]
impl Copy for WindowDim
[src]
impl Eq for WindowDim
[src]
impl PartialEq<WindowDim> for WindowDim
[src]
impl Debug for WindowDim
[src]
Auto Trait Implementations
impl Unpin for WindowDim
impl Sync for WindowDim
impl Send for WindowDim
impl UnwindSafe for WindowDim
impl RefUnwindSafe for WindowDim
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 = 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>,
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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,