Enum FullscreenMode
#[repr(u8)]pub enum FullscreenMode {
None = 0,
Maximized = 1,
Fullscreen = 2,
MaximizedFullscreen = 3,
}
Expand description
This struct holds information for a client/window fullscreen mode
Variants§
None = 0
Normal window
Maximized = 1
Maximized window
Fullscreen = 2
Fullscreen window
MaximizedFullscreen = 3
Maximized and fullscreen window
Trait Implementations§
§impl Clone for FullscreenMode
impl Clone for FullscreenMode
§fn clone(&self) -> FullscreenMode
fn clone(&self) -> FullscreenMode
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 more§impl Debug for FullscreenMode
impl Debug for FullscreenMode
§impl<'de> Deserialize<'de> for FullscreenMode
impl<'de> Deserialize<'de> for FullscreenMode
§fn deserialize<D>(
deserializer: D,
) -> Result<FullscreenMode, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<FullscreenMode, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for FullscreenMode
impl PartialEq for FullscreenMode
§impl Serialize for FullscreenMode
impl Serialize for FullscreenMode
§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for FullscreenMode
impl Eq for FullscreenMode
impl StructuralPartialEq for FullscreenMode
Auto Trait Implementations§
impl Freeze for FullscreenMode
impl RefUnwindSafe for FullscreenMode
impl Send for FullscreenMode
impl Sync for FullscreenMode
impl Unpin for FullscreenMode
impl UnwindSafe for FullscreenMode
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more