Struct FullscreenState
pub struct FullscreenState(pub bool);
Expand description
A helper struct that provides the current fullscreen state
Tuple Fields§
§0: bool
State
Implementations§
§impl FullscreenState
impl FullscreenState
Trait Implementations§
§impl Clone for FullscreenState
impl Clone for FullscreenState
§fn clone(&self) -> FullscreenState
fn clone(&self) -> FullscreenState
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 FullscreenState
impl Debug for FullscreenState
§impl Display for FullscreenState
impl Display for FullscreenState
§impl HyprData for FullscreenState
impl HyprData for FullscreenState
§fn get() -> Result<FullscreenState, HyprError>
fn get() -> Result<FullscreenState, HyprError>
This method gets the data
§async fn get_async() -> Result<FullscreenState, HyprError>
async fn get_async() -> Result<FullscreenState, HyprError>
This method gets the data (async)
§impl PartialEq for FullscreenState
impl PartialEq for FullscreenState
impl Copy for FullscreenState
impl Eq for FullscreenState
impl StructuralPartialEq for FullscreenState
Auto Trait Implementations§
impl Freeze for FullscreenState
impl RefUnwindSafe for FullscreenState
impl Send for FullscreenState
impl Sync for FullscreenState
impl Unpin for FullscreenState
impl UnwindSafe for FullscreenState
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