#[repr(C)]pub struct LinuxDecorationsState {
pub is_dragging_titlebar: bool,
pub close_button_hover: bool,
pub maximize_button_hover: bool,
pub minimize_button_hover: bool,
}Expand description
State for tracking hover and interaction with Linux window decoration elements (CSD).
Fields§
§is_dragging_titlebar: boolTrait Implementations§
Source§impl Clone for LinuxDecorationsState
impl Clone for LinuxDecorationsState
Source§fn clone(&self) -> LinuxDecorationsState
fn clone(&self) -> LinuxDecorationsState
Returns a duplicate 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 LinuxDecorationsState
impl Debug for LinuxDecorationsState
Source§impl Default for LinuxDecorationsState
impl Default for LinuxDecorationsState
Source§fn default() -> LinuxDecorationsState
fn default() -> LinuxDecorationsState
Returns the “default value” for a type. Read more
Source§impl Hash for LinuxDecorationsState
impl Hash for LinuxDecorationsState
Source§impl Ord for LinuxDecorationsState
impl Ord for LinuxDecorationsState
Source§fn cmp(&self, other: &LinuxDecorationsState) -> Ordering
fn cmp(&self, other: &LinuxDecorationsState) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LinuxDecorationsState
impl PartialEq for LinuxDecorationsState
Source§impl PartialOrd for LinuxDecorationsState
impl PartialOrd for LinuxDecorationsState
impl Copy for LinuxDecorationsState
impl Eq for LinuxDecorationsState
impl StructuralPartialEq for LinuxDecorationsState
Auto Trait Implementations§
impl Freeze for LinuxDecorationsState
impl RefUnwindSafe for LinuxDecorationsState
impl Send for LinuxDecorationsState
impl Sync for LinuxDecorationsState
impl Unpin for LinuxDecorationsState
impl UnwindSafe for LinuxDecorationsState
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