pub enum WindowDim {
Windowed {
width: u32,
height: u32,
},
Fullscreen,
FullscreenRestricted {
width: u32,
height: u32,
},
}👎Deprecated: luminance-windowing is not maintained anymore; please directly use the platform crates from now on
Expand description
Dimension metrics.
Variants§
Windowed
👎Deprecated: luminance-windowing is not maintained anymore; please directly use the platform crates from now on
Windowed mode.
Fields
Fullscreen
👎Deprecated: luminance-windowing is not maintained anymore; please directly use the platform crates from now on
Fullscreen mode (using the primary monitor resolution, for instance).
FullscreenRestricted
👎Deprecated: luminance-windowing is not maintained anymore; please directly use the platform crates from now on
Fullscreen mode with restricted viewport dimension..
Trait Implementations§
impl Copy for WindowDim
impl Eq for WindowDim
impl StructuralPartialEq for WindowDim
Auto Trait Implementations§
impl Freeze for WindowDim
impl RefUnwindSafe for WindowDim
impl Send for WindowDim
impl Sync for WindowDim
impl Unpin for WindowDim
impl UnwindSafe for WindowDim
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more