Enum ggez::conf::FullscreenType
source · pub enum FullscreenType {
Windowed,
True,
Desktop,
}
Expand description
Possible fullscreen modes.
Variants§
Windowed
Windowed mode.
True
True fullscreen, which used to be preferred ’cause it can have small performance benefits over windowed fullscreen.
Also it allows us to set different resolutions.
Desktop
Windowed fullscreen, generally preferred over real fullscreen these days ’cause it plays nicer with multiple monitors.
Trait Implementations§
source§impl Clone for FullscreenType
impl Clone for FullscreenType
source§fn clone(&self) -> FullscreenType
fn clone(&self) -> FullscreenType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FullscreenType
impl Debug for FullscreenType
source§impl<'de> Deserialize<'de> for FullscreenType
impl<'de> Deserialize<'de> for FullscreenType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<FullscreenType> for FullscreenType
impl PartialEq<FullscreenType> for FullscreenType
source§fn eq(&self, other: &FullscreenType) -> bool
fn eq(&self, other: &FullscreenType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FullscreenType
impl Serialize for FullscreenType
impl Copy for FullscreenType
impl Eq for FullscreenType
impl StructuralEq for FullscreenType
impl StructuralPartialEq for FullscreenType
Auto Trait Implementations§
impl RefUnwindSafe for FullscreenType
impl Send for FullscreenType
impl Sync for FullscreenType
impl Unpin for FullscreenType
impl UnwindSafe for FullscreenType
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
source§impl<T> HasMut<T> for T
impl<T> HasMut<T> for T
source§fn retrieve_mut(&mut self) -> &mut T
fn retrieve_mut(&mut self) -> &mut T
Method to retrieve the context type as mutable.